Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> a 3-4 gb git repo is ridiculously huge.

It's an old long SVN repository with a lot of files. I would like to split it in two SVN repos but that would destroy their history. Any ideas?

> I'd expect everything to be slow.

It's actually very OK with git in cygwin-bash.



You can do the split in subversion by filtering the paths, and keeping the history :-) There is a svnadmin command for that. I guess you can do something similar in git


The magic is inside git-subtree (invoke as `git subtree split -P path/prefix/of/subtree/to/decouple -b branch-name-to-create-and-store-subtree-history`). There is also more exotic stuff that would just rip a complete folder out, but that get's complicated.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: