Skip to content

Instantly share code, notes, and snippets.

@ivanvc
Created October 8, 2009 02:51
Show Gist options
  • Save ivanvc/204670 to your computer and use it in GitHub Desktop.
Save ivanvc/204670 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