Skip to content

Instantly share code, notes, and snippets.

@jamesdaniels
Created October 10, 2011 19:33
Show Gist options
  • Save jamesdaniels/1276295 to your computer and use it in GitHub Desktop.
Save jamesdaniels/1276295 to your computer and use it in GitHub Desktop.
function savemyshitbro {
git stash
git checkout -b $1
git stash apply
git push origin $1
}
// $savemyshitbro BRANCH_NAME
// usage: savemyshitbro changes_to_something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment