Skip to content

Instantly share code, notes, and snippets.

@thisivan
Forked from ivanvc/gist:204670
Created October 8, 2009 04:04
Show Gist options
  • Save thisivan/204712 to your computer and use it in GitHub Desktop.
Save thisivan/204712 to your computer and use it in GitHub Desktop.
# Rebase
$ git commit -a -m "Commit message"
$ git fetch
$ git rebase [branch] # origin/master
$ git push
# Stash
$ git stash
$ git pull
$ git stash apply
$ git commit -a -m "Commit message"
$ git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment