-
更新远程分支列表
git remote update origin --prune
git remote update origin -p
- Git-命令行-删除本地和远程分支
$ git branch -a #查看项目的所有分支(包括本地和远程)
$ git branch -d <BranchName> #删除本地分支
$ git push origin --delete <BranchName> #删除远程分支
$ git checkout -b <本地分支名> origin/<远程分支名> #切换到远程分支到本地
Git分支管理技巧
551

被折叠的 条评论
为什么被折叠?



