Skip to content

Instantly share code, notes, and snippets.

Avatar

Samir Seth skseth

View GitHub Profile
View gist:477d46a0bf835692a35979ccaaa3a785
#!/bin/bash
SVN_HOST="https://svn/path/to/repo"
git checkout master
git pull --rebase
git config --local svn-remote.svn.url "${SVN_HOST}"
git config --local svn-remote.svn.fetch ":refs/remotes/git-svn"
git config --local svn.rmdir true
You can’t perform that action at this time.