Over time the size of .git
folder grows for Git repositories hosted on TFS 2013 (Update 4).
Whenever cloning those repositories, .git
folder can be huge in size initially, until git gc --aggressive --prune=now
is performed manually.
Microsoft says, that TFS 2013 does not perform git gc
operations on its own.
Unfortunately, it also seems impossible to force TFS to do that.
Is there a way to gc/prune a Git repository hosted in TFS 2013 to reduce the initial size of .git directory?