How to delete "origin/origin/master"

This question already has an answer here:

  • How do I delete a Git branch both locally and remotely? 39 answers

  • Don't worry, you can always go back with git. Make sure you have your master branch locally, then try this one:

    git push origin :origin/master

    It will delete origin/master branch on a remote "origin".

    If you want to be supersafe, rename your remote from "origin" to "temp", then do:

    git push temp :origin/master

    链接地址: http://www.djcxy.com/p/656.html

    上一篇: 本地删除的分支在远程存储库上不会被删除

    下一篇: 如何删除“origin / origin / master”