Git and Subversion

Convert an subversion repository to git.

aptitude install git-svn
 
cd ~
mkdir git
cd git
echo "user = Joe User <j.user@example.com>" > authors.txt
git svn clone --no-metadata --username=user -A ./authors.txt https://svn.example.lan/svn/repos
 
# if there are tags, branches etc.
# git svn clone --no-metadata --username=user -t tags -b branches -T trunk -A ./authors.txt https://svn.example.lan/svn/repos
howto/git/git_and_subversion.txt · Last modified: 2014-12 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready