Skip to content

Instantly share code, notes, and snippets.

@antonybudianto
Created February 20, 2016 10:59
Show Gist options
  • Save antonybudianto/e15a59b7890fd4863028 to your computer and use it in GitHub Desktop.
Save antonybudianto/e15a59b7890fd4863028 to your computer and use it in GitHub Desktop.
git fetch origin # Updates origin/master
git rebase origin/master # Rebases current branch onto origin/master
git rebase -i HEAD~3 # Rebases last 3 commits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment