Skip to content

Instantly share code, notes, and snippets.

@mattbostock
Last active August 29, 2015 13:56
Show Gist options
  • Save mattbostock/8843403 to your computer and use it in GitHub Desktop.
Save mattbostock/8843403 to your computer and use it in GitHub Desktop.
Avoid unwanted commits in Git PR
git pull --rebase upstream master
git push --force origin mypr-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment