Re: collapsing old git history to reduce repo size, while preserving commit #s and tags

2013-10-30 Thread Stas Cherkassky
Andrew, Shallow clone (if that's what you meant) is not suitable because it doesn't allow to push/pull to/from this shallow repository. I understand that generally git is designed to preserve the history. But the problem is real, and probably is not unique to our project. The fact that there

Re: collapsing old git history to reduce repo size, while preserving commit #s and tags

2013-10-29 Thread Stas Cherkassky
Hi, I have an old git repo with e.g. 1000 commits, that grew up to considerable size. Now, I am starting a new project and want to use this repo, but slimmed down. I'd like to clone the repo to the new project and slim it down I'd like to collapse 900 first commits into one, but keep last 100,