Skip to content

Instantly share code, notes, and snippets.

@petecoop
Last active December 19, 2015 00:19
Show Gist options
  • Save petecoop/5867748 to your computer and use it in GitHub Desktop.
Save petecoop/5867748 to your computer and use it in GitHub Desktop.
Git SVN Switch
  • Edit the svn-remote url URL in .git/config to point to the new domain name
  • Run git svn fetch - This needs to fetch at least one new revision from svn!
  • Change svn-remote url back to the original url
  • Run git svn rebase -l to do a local rebase (with the changes that came in with the last fetch operation)
  • Change svn-remote url back to the new url
  • Run git svn rebase should now work again!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment