本地分支-远程分支-删除

  1. 本地分支的删除:git branch -d branch-name | git branch -D branch-name
  2. 远程分支的删除:git push origin --delete branch-name
  3. 同步远程分支的删除:git remote prune origin
  4. 查看远程分支与本地分支的对应关系: git remote show origin

引用:

https://blog.csdn.net/qq_32452623/article/details/54340749

https://blog.csdn.net/weixin_37999256/article/details/82117048

原文地址:https://www.cnblogs.com/meowyeon/p/9752911.html