Re: Question about git gc on large text files

2017-08-17 Thread Kai Zhang
> On Aug 17, 2017, at 10:33 AM, Jeff King wrote: > > On Thu, Aug 17, 2017 at 10:28:00AM -0700, Kai Zhang wrote: > >> I have a git repository maintaining one large json file (along with >> several other small files). With commits for large json file, the >> repository become bigger and bigger, s

Re: Question about git gc on large text files

2017-08-17 Thread Jeff King
On Thu, Aug 17, 2017 at 10:28:00AM -0700, Kai Zhang wrote: > I have a git repository maintaining one large json file (along with > several other small files). With commits for large json file, the > repository become bigger and bigger, so I tried to run command "git gc > --prune=now --aggressive"

Question about git gc on large text files

2017-08-17 Thread Kai Zhang
Hi I have a git repository maintaining one large json file (along with several other small files). With commits for large json file, the repository become bigger and bigger, so I tried to run command "git gc --prune=now --aggressive" to reduce disk usage, then I found .git folder size did not c