SVN to GIT Migration with History

As asked in this Stack Overflow: https://stackoverflow.com/questions/79165/how-do-i-migrate-an-svn-repository-with-history-to-a-new-git-repository

With the help of: https://gist.github.com/kasparsd/3749872

  • svn log http://plugins.svn.wordpress.org/hide-and-catch-email (to get the first commit)
  • git svn clone --authors-file=../Documents/WordPress/svn-to-git-authors.txt --no-minimize-url -s -r283634 https://plugins.svn.wordpress.org/hide-and-catch-email/ wp-hide-and-catch-email
  • git svn fetch
  • get svn rebase

fin.