git is very very slow when tracking large binary files

后端 未结 10 1913
情话喂你
情话喂你 2020-12-07 08:50

My project is six months old and git is very very slow. We track around 30 files which are of size 5 MB to 50 MB. Those are binary files and we keep them in git. I believe t

10条回答
  •  日久生厌
    2020-12-07 09:45

    One way of speeding things up is to use the --depth 1 flag. See the man page for details. I am not a great git guru but I believe this says do the equivalent of a p4 get or an svn get, that is it give you only the latest files only instead of "give me all of the revisions of all the files through out all time" which is what git clone does.

提交回复
热议问题