本文主要是介绍gitlab 上源码Merge后出现git gc的解决方案,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题:
- 远程主分支在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?
这篇关于gitlab 上源码Merge后出现git gc的解决方案的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!