讨论数量:
删除远程:git push <remote> --delete <branch_name> #
git push <remote> :<branch_name> # 简短写法
删除本地:git branch -d <branch_name> # 正常删除命令
git branch -D <branch_name> # 强制删除未merge或者push的分支
删除远程:git push <remote> --delete <branch_name> #
git push <remote> :<branch_name> # 简短写法
删除本地:git branch -d <branch_name> # 正常删除命令
git branch -D <branch_name> # 强制删除未merge或者push的分支
推荐文章: