Reputation: 6057
A couple months back I deleted a repo from github using "danger zone -> delete this repo" from the project control panel on github.com.
Now I would like to put the code back up on github. I am using the github desktop application to push my code to github.
In the github desktop application, github still thinks the old deleted repo is alive on my account ... so I can't push the code a second time.
How can I completely remove the project from github so that I can push my code again?
Upvotes: 4
Views: 2168
Reputation: 1101
I had to log out from the application and log back in and finally the repository was gone.
Upvotes: 0
Reputation: 3608
I have done this by removing the [remote "origin"]
section from the .git/config
file for the project and republishing the repository to github.
Upvotes: 6
Reputation: 1328742
If a refresh isn't enough for "GitHub for Windows" to correctly list your GitHub repos, the extreme solution would be to "un-install" and re-install that application.
All the data are under C:\Users\YourAccount\Local Settings\Application Data\GitHub, so removing them and re-installing "GitHub for Windows" should be enough.
Upvotes: 1