SVN to GIT Migration with History

How to: 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.

Austin
Austin

πŸ’πŸ½β€β™‚οΈ Husband to Jeana.
⚾️ Dodgers & Brewers.
πŸ’» PHP Engineer.
πŸŒπŸΌβ€β™‚οΈGolfer; ~14 HDC.
🌱 Hydroponic Gardner.
🍿 Plex nerd.
πŸš™ '15 WRX, '22 Model 3 LR, & '66 Corvette C2.

Follow me on Twitter @TheFrosty & Instagram @TheFrosty.

Articles: 292