Manually Migrating from svn to git
I am trying to migrate my svn repo from svn to git and it keeps on failing, it stops with the following output:
W: -empty_dir: trunk/ncontinuity2.core/extensions
When I do a git branch -a
, it shows that开发者_StackOverflow it has not moved all the branches and indeed displays some branches that have been previously delted.
I have decide I can live without the history.
Is there anyway I can do this move manualy and recreate my branch structure in git?
I have tried git-svn and git2svn and both do not import my repo correctly, I just want to do it manually now.
If you only want the working code, no history:
svn export <url> <other folder>
cd <other folder>
git init .
精彩评论