Skip to content

Instantly share code, notes, and snippets.

@reagent
Created July 2, 2010 19:18
Show Gist options
  • Save reagent/461777 to your computer and use it in GitHub Desktop.
Save reagent/461777 to your computer and use it in GitHub Desktop.
#!/bin/bash
branch=`git status | head -n1 | cut -d' ' -f4`
rake cruise && git checkout master && git merge $branch && rake cruise && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment