git - Purge a repository from my Github, using the command line -


i understand how purge github repository account using web interface...

but can't figure out how perform same operation local command line using authenticated git client.

is possible? if so, how?

you can delete remote branches in github repository (you cannot delete project or repository itself, without using github's special apis). push branch leading colon delete it.

git push <remote name> :<branch name>

typically, simple github project, 1 master branch, checked out using command line example shown in project page, be:

git push origin :master

certainly, be careful destructive command. check remote , branch names if there other remotes or branches in project don't want delete.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -