码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-10-11 22:39:06      阅读:624      评论:0      收藏:0      [点我收藏+]

标签:hat   track   rem   命令   iter   com   本地   run   remote   

git remote prune origin

或者

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

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

标签:hat   track   rem   命令   iter   com   本地   run   remote   

原文地址:https://www.cnblogs.com/yanghaifeng/p/9775410.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!