'How to remove a remote github fork using the command line?

I am using a github user to which I only have access by command line, i.e. I cannot log in to that user using the UI on github.com.

I am using this github user to make automatic changes to github repositories. In order to do so, I create remote forks from the original github repository and then push to that remote fork.

As changes have been made to the original github repo which are not reflected in the fork, I am looking for a way to completely remove the forked repo using the command line.

How to do that? How to completely remove a forked github repository using the command line?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source