Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
politely updates a fork repository from the upstream repository, by excluding merge commits so they will not appear on pull-requests to the upstream.
git fetch upstream
git checkout master
git rebase upstream/master
git push -f origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.