摘要: 代码在gitHub上托管,每次git pull完后,用git branch -a都可以看到一堆remotes/origin/pr/*分支:可以通过两种方式去除:1,修改git的config文件找到里面的:fetch = +refs/pull/*/head:refs/remotes/origin/pr/*删除。不过删除后就不能直接check pr分支了,参考:https://help.github.com/articles/checking-out-pull-requests-locally2,利用命令临时去除这些分支信息(推荐)。git remote prune origin 清理后-a 看起 阅读全文
posted @ 2013-08-09 10:59 紫璐宇 阅读(2517) 评论(0) 推荐(0) 编辑