删除远程分支

git push origin --delete XXX

删除本地分支

git branch -d [-D 强制] XXX

删除远程分支强制覆盖本地

git fetch --all
git reset --hard origin/XXX

标签: none

添加新评论