Skip to content

Instantly share code, notes, and snippets.

@kevwil
Created March 16, 2009 20:37
Show Gist options
  • Save kevwil/80058 to your computer and use it in GitHub Desktop.
Save kevwil/80058 to your computer and use it in GitHub Desktop.
cd ~/tmp
mkdir gitsvnrebase
cd gitsvnrebase
svnadmin create fubar-repo
svn co file:///Users/sensei/tmp/gitsvnrebase/fubar-repo fubar-wc
git svn init file:///Users/sensei/tmp/gitsvnrebase/fubar-repo fubar-git
cd fubar-git
git svn fetch
cd ../fubar-wc
echo "hello from svn" > test.txt
svn add test.txt
svn ci -m "create test.txt file"
cd ../fubar-git
git svn fetch
echo "hello from git" >> test.txt
git ci -a -m "add to txt file from git"
cd ../fubar-wc
echo "git svn rebase blows up here" > test.txt
svn ci -m "edit test.txt file"
cd ../fubar-git
git svn fetch
git svn rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment