Nothingmuch's Migrating from Subversion to Git worked for me for two SVN repos that I'm actively working on.
Quick notes:
yum install git-svn git svn clone --prefix=svn/ --stdlayout --authors-file=authors.txtThis makes a clean git repo complete with tags, branches, and history. Now set the "central" repo location :git svn-abandon-fix-refs git svn-abandon-cleanup
git remote add originfinally, push it up to the server :git config branch.master.remote origin git config branch.master.merge refs/heads/master
git push origin master
No comments:
Post a Comment