Skip to content

Instantly share code, notes, and snippets.

@lmsilvera
Created August 8, 2018 19:56
Show Gist options
  • Select an option

  • Save lmsilvera/6b4a2731ff70feafef0065a1ccd14f54 to your computer and use it in GitHub Desktop.

Select an option

Save lmsilvera/6b4a2731ff70feafef0065a1ccd14f54 to your computer and use it in GitHub Desktop.
update master branch & update PRs
# Updating master
git checkout master
git pull --rebase
# updating branches (PRs active)
git checkout BRANCH_NAME
git rebase origin/master
git push origin BRANCH_NAME --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment