2 ms·
For those cases where you have created a fork of a project and are preparing a pull request, would that be something like: $ git checkout master $ git
by mcguire 11y ago
For those cases where you have created a fork of a project and are preparing a pull request, would that be something like:
$ git checkout master
$ git fetch upstream # https://help.github.com/articles/syncing-a-fork/
$ # git merge upstream/master # <- leaves merge commits in your fork
$ git checkout branch-name
$ git rebase upstream/master # Use rebase instead of merge?
$ git push -f origin branch-name