How can I delete a remote Git repository from the command line (Git Bash)?

后端 未结 3 1290
北海茫月
北海茫月 2021-02-14 05:47

I\'m trying to remove a remote git repository through Git Bash. I\'m aware that I can just delete it through GitHub; however, I want to learn how to do so throu

3条回答
  •  眼角桃花
    2021-02-14 06:11

    As Jubobs mentioned above you can use github dev API, so: curl -u :username -X "DELETE" https://api.github.com/repos/:username/:repo Where :username = your username(github handler) and :repo = a name of a repo you want to get rid of

提交回复
热议问题