Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Created January 5, 2009 22:08
Show Gist options
  • Save voxpelli/43559 to your computer and use it in GitHub Desktop.
Save voxpelli/43559 to your computer and use it in GitHub Desktop.
git svn init --trunk=trunk/ --branches=branches/ --tags=tags/ --no-metadata http://svn.example.com/ target_tmp_path
git config svn.authorsfile svn_users.txt
git svn fetch
git branch -m master tmp-5.x-0.x
git checkout -b master trunk
git tag 5.x-0.1 fa50b543e4570b5bd3197b301485b2d3ff88ccdd
cd ..
git clone target_tmp_path target_path
cd target_path
git checkout -b 5.x-0.x origin/tmp-5.x-0.x
git remote add github git@github.com:USERNAME/REPOSITORY.git
git push --tags github master 5.x-0.x
Foo = Foo Bar <foo@example.com>
Bar = Bar Foo <bar@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment