Skip to content

Instantly share code, notes, and snippets.

@enxebre
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save enxebre/1f4dc85b63391cb29d9a to your computer and use it in GitHub Desktop.

Select an option

Save enxebre/1f4dc85b63391cb29d9a to your computer and use it in GitHub Desktop.
Git commands for update your pull request branch with the last master changes
git remote add upstream git://github.com/your-repo
git checkout master
git fetch upstream
git merge upstream/master
git checkout BRANCH_NAME
git rebase master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment