git强制删除本地分支 git branch -D
git删除本地分支_zhangphil的博客-CSDN博客git branch -d <分支名>可以通过: git branch 查看所有本地分支及其名字,然后删除特定分支。https://blog.csdn.net/zhangphil/article/details/82255002
使用git branch -d删除本地分支报错:
error: The branch 'xxx' is not fully merged.
If you are sure you want to delete it, run 'git branch -D xxx'.
换成把 -d 换成大写 -D 即可:
git branch -D xxx
git删除远程remote分支_git remote delete_zhangphil的博客-CSDN博客git 命令如下:git push origin --delete_git remote deletehttps://blog.csdn.net/zhangphil/article/details/51752334