Delete a GitHub Repository

Originally answered on Quora, the question asked:How can I delete my public GitHub repository?


If the repository exists on your account, it does not matter if anyone has linked to it. You have complete ability to delete it. The following is an example of how to do it.

  • Sign into GitHub
  • Click on your account icon (upper right)
  • Select > Your Repositories
  • Click on the repository you want to delete
  • Click settings (see where my mouse is pointed)
  • In the page that follows, copy your repository name
  • Right-click and copy
  • Prevents mistakes typing in the repository name later

Copying the repository name ensures you don’t delete the wrong repository if you have multiple repositories that have similar names.

Scroll all the way to the bottom, and click Delete this repository

You get a final chance to change your mind. After this, there is no going back ….

Paste in the repository from the earlier step

You could type it in, but pasting it in is much safer

Once you press that button, that is it. The repository is deleted.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.