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.

Default image
Austin
πŸ’πŸ½β€β™‚οΈ Husband to Jeana. ⚾️ Dodgers obsessed. πŸ† World Series Champs. πŸ’» Senior WordPress engineer @ Beachbody. πŸŒπŸΌβ€β™‚οΈScratch golfer. 🌱 Hydroponic Gardner. 🍿 Plex nerd. πŸš™ '15 WRX & '66 Corvette C2. 🐢 Missing my love Keiki; RIP 😒. Follow me on Twitter @TheFrosty & Instagram @TheFrosty.
Articles: 285

Leave a Reply

%d bloggers like this: