Skip to content

Instantly share code, notes, and snippets.

@joefiorini
Created November 3, 2008 18:54
Show Gist options
  • Save joefiorini/21944 to your computer and use it in GitHub Desktop.
Save joefiorini/21944 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~/code/projects/within3
CUR_BRANCH=`git branch | grep "*" | cut -d " " -f2`
git checkout mainline
git svn rebase 2> ~/scripts/output.txt
qs ~/scripts/output.txt
git checkout $CUR_BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment