This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |