4 ms·
With DVCS or any VCS you don't have to always have the full history. If it is a public project and open source you might want that. But if you are working on
by drawkbox 12y ago
With DVCS or any VCS you don't have to always have the full history. If it is a public project and open source you might want that. But if you are working on games or apps you might want a clean new remote after every so often so you aren't sending around a TB repo.
When bitbucket limited to 2GB for repos, this limit can easily be breached on game projects, but it helped to really git submodule out libraries/code. This also encourages resetting history in a new repo every so often when that history is really not needed, like 2-3 versions back or after many months/years. Distributed VCS databases can get immense, but like anything in life, maintenance every once in a while helps. For some projects this is not possible like a linux kernel but for any old web site, app, game etc this is something that you can and should do.
All operations are faster when your DVCS repo sizes are smaller.
- brianpgordon 12y agoIf you're periodically clearing out your repository history, you're missing out on an extremely useful tool: blame. http://mislav.uniqpath.com/2014/02/hidden-documentation/ http://mislav.uniqpath.com/2014/02/hidden-documentation/