git svn - Git repo grew after running repack -
we've been using subversion , considering moving git. git illiterate. used git svn clone
copy svn history git , git folder 3.1g. followed advice several blogs shrink , ran:
git repack -a d -f --window=100
processed 494,755 objects when @ disk size using 3.7g. thought shrink made larger. tried running again
git repack -a d -f --window=250 --depth=250
no changes size. git prune
command didn't appear anything. took several days clone this, rather not start over.
is there way go smaller size, or ideas has on why repack made bigger?
git-svn
way if have copy repo svn git, honestly, better work natively in git. said, i've used before , this best guide found on matter.
really, may want play around revision history importing using -r
option. did an:
rm -r `find -type d -name .svn`
to remove .svn folders. don't plan on commiting git svn, me, if plan use git locally , commit svn repo, you'll have little more research on best way that.
also git-gc
helps compress objects. see if helps reduce size of repo.
git great hope find , switch over.
Comments
Post a Comment