Skip to content

Instantly share code, notes, and snippets.

@gilleain
Created July 21, 2011 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilleain/1097258 to your computer and use it in GitHub Desktop.
Save gilleain/1097258 to your computer and use it in GitHub Desktop.
shell script
for e in Ag Au
do
echo "Checking out $e"
git checkout $e
git reset --soft HEAD~1
java -cp ~/jgit/org.eclipse.jgit-1.0.0.201106090707-r.jar bsh.Interpreter patcher.bsh $e
git add src/
git commit -m "$e final"
git checkout master
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment