Skip to content

Instantly share code, notes, and snippets.

@thisivan
Forked from ivanvc/gist:204670
Created March 2, 2010 23:25
Show Gist options
  • Save thisivan/320097 to your computer and use it in GitHub Desktop.
Save thisivan/320097 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