Skip to content

Instantly share code, notes, and snippets.

@thadeu
Last active April 13, 2018 12:10
Show Gist options
  • Save thadeu/52ef2d66751de8acfe5ed0689e2697ad to your computer and use it in GitHub Desktop.
Save thadeu/52ef2d66751de8acfe5ed0689e2697ad to your computer and use it in GitHub Desktop.
GIT: Sync (rebase) branch master
git fetch origin master
git checkout master
git merge origin/master
git checkout MY_BRANCH
git rebase master
git push -f origin HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment