Git gc using excessive memory, unable to complete

前端 未结 5 419
暖寄归人
暖寄归人 2020-12-08 19:01

Final update and fix: The solution here turned out to be a combination of two things: using Windows Git rather than Cygwin Git as Graham Borland suggest

5条回答
  •  旧巷少年郎
    2020-12-08 19:53

    I had the same problem, tried the solutions mentioned so far without success. But my problems with git gc began after I added big image files to repo, so I created .gitattributes file and turned off delta compression for those big files:

    *.tga -delta
    *.psd -delta
    

    It worked.

提交回复
热议问题