Skip to content

Instantly share code, notes, and snippets.

@abdolrhman
Created June 23, 2018 18:59
Show Gist options
  • Save abdolrhman/3f8990f854030b366217a988c9750bde to your computer and use it in GitHub Desktop.
Save abdolrhman/3f8990f854030b366217a988c9750bde to your computer and use it in GitHub Desktop.
git rebase
After changes committed to your branch, checkout master and pull to get the changes from the repo:
git checkout master
git pull origin master
Then checkout your branch and rebase your changes on master :
git checkout RB
git rebase master
or last two commands in one line:
git rebase master RB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment