删除远程仓库不存在本地存在的分支的命令

git remote prune origin

或者

git fetch -p 命令 命令行解释--prune -p -- remove any remote tracking branches that no longer exist remotely 英文意思:删除不存在的远程跟踪分支

猜你喜欢

转载自www.cnblogs.com/yanghaifeng/p/9775410.html