SVN 到 GIT 的转换(converting svn to git)

访问量: 2931

1. sudo apt-get install git-svn   (make sure you have the 'git svn' installed ) 

2. First you have to create a file that maps your Subversion commit author names to Git commiters, say ~/authors.txt:

jmaddox = Jon Maddox <
bigpappa = Brian Biggs <>

Then you can download the Subversion data into a Git repository:

mkdir repo && cd repo
git svn init http://subversion/repo --no-metadata
git config svn.authorsfile ~/authors.txt
git svn fetch

参考:(refer to:)

订阅/RSS Feed