Skip to content

Instantly share code, notes, and snippets.

@pietrom
Created November 14, 2012 08:28
Show Gist options
  • Save pietrom/4070988 to your computer and use it in GitHub Desktop.
Save pietrom/4070988 to your computer and use it in GitHub Desktop.
Export SVN repository to git repository
git svn clone --authors-file=path/to/authors/file SVN_REPO_URL GIT_LOCAL_REPO [--tags=TAGS-ROOT] [--trunk=TRUNK-ROOT] --no-minimize-url [--username=SVN_USERNAME]
@pietrom
Copy link
Author

pietrom commented Nov 14, 2012

Authors file format:

svn_username = FirstName Surname <EMAIL_ADDRESS>
(no author) = No Author [<DEFAULT_EMAIL>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment