Finally the time has come for me to unwind and take a well earned couple of weeks off in the sun.
But before I go, I'm working on migrating some key projects from SVN into Git repos.
I'm using the following method as per Jon Maddox's great guide:
The map.txt file contains svn username to git user mappings, e.g:
This way your users will come across ok.
The final git clone is to get a clean copy of the new git repo, leaving all the svn crap brought down from the svn server.
But before I go, I'm working on migrating some key projects from SVN into Git repos.
I'm using the following method as per Jon Maddox's great guide:
mkdir gitrepo
cd gitrepo
git svn init https://mysvnserver:port/reponame/module --branches=branches --trunk=trunk --tags=tags --no-metadata
git config svn.authorsfile map.txt (more on map.txt in a bit)
git svn fetch
cd ..
git clone gitrepo clean_repo
The map.txt file contains svn username to git user mappings, e.g:
lumberg = Lumberg <lumberg@initech,com>
peter = Peter <pete@initech.com>
This way your users will come across ok.
The final git clone is to get a clean copy of the new git repo, leaving all the svn crap brought down from the svn server.
Comments