问题:

  • 远程主分支在merger其他分支的请求后,本地主分支pull 远程分支出现git gc
 * branch            master     -> FETCH_HEAD
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 330851, done. 

解决方案:


git config --global gc.auto 0


参考文献:

Why does git run “git gc –auto” on every merge?

更多推荐