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 obsessed.
💻 WordPress Engineer.
🏌🏼‍♂️Golfer.
🌱 Hydroponic Gardner.
🍿 Plex nerd.
🚙 '15 WRX & '66 Corvette C2.
🐶 Missing my love Keiki; RIP 😢.

Follow me on Twitter @TheFrosty & Instagram @TheFrosty.

Articles: 288

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: