[英]Clean of local remote branches
我删除了github上的分支,并在本地进行git fetch 。
git fetch
git branch -a仍然列出远程分支。
git branch -a
使用git fetch origin --prune 。 这将删除远程资源库中不再存在的远程跟踪分支。
git fetch origin --prune
[英]How do I clean both remote and local git branches on windows
[英]Are remote and local branches identical?
[英]Local Branches Not On Remote Branch
[英]Track all remote git branches as local branches
[英]How to update local branches from remote branches
[英]Update all local branches with all remote branches
[英]Git keeping remote branches (origin) clean
[英]Git: Specify the remote and local branches
[英]git workflow: local and remote branches
[英]Discrepancies between remote and local branches
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.