Skip to content

Instantly share code, notes, and snippets.

@tuksik
Last active August 29, 2015 14:07
Show Gist options
  • Save tuksik/9463809b09e36820de40 to your computer and use it in GitHub Desktop.
Save tuksik/9463809b09e36820de40 to your computer and use it in GitHub Desktop.
  • Create a users file (i.e. authors.txt) for mapping SVN users to GIT
user1 = First Last Name <email@address.com>
user2 = First Last Name <email@address.com>
  • Then you can download the Subversion data into a Git repository:
mkdir repo && cd repo
#git svn init http://subversion/repo --no-metadata
#git svn init file:///home/user/repoName --no-metadata
git svn init file:///cygdrive/o/APPSVN/Repo
git config svn.authorsfile ~/authors.txt
git svn fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment