over time size of .git folder grows git repositories hosted on tfs 2013 (update 4).
whenever cloning repositories, .git folder can huge in size initially, until git gc --aggressive --prune=now performed manually.
microsoft says, tfs 2013 not perform git gc operations on own. unfortunately, seems impossible force tfs that.
is there way gc/prune git repository hosted in tfs 2013 reduce initial size of .git directory?
found answer here: https://connect.microsoft.com/visualstudio/feedback/details/1019193/unable-to-clean-a-git-repo-in-tfs
"tfs not perform garbage collection on git objects. aware important feature have , tracking in our backlogs. currently, if perform git clone, tfs attempts optimize processing speed , hands objects associated repo without filtration, under assumption of live/reachable. after filter operation 1 performed, might prudent delete entire git repository tfs server , create new 1 using locally pruned , repacked git repo. standard caveats when deleting repository apply - lose permission information , tfs state associated repository , have recreate them appropriately."
Comments
Post a Comment