Q:

How to re-publish a repository that was previously deleted from github?

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?

A:

I have done this by removing the [remote "origin"] section from the .git/config file for the project and republishing the repository to github.

