Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

apache https://git-wip-us.apache.org/repos/asf/incubator-samoa.git (fetch)
apache https://git-wip-us.apache.org/repos/asf/incubator-samoa.git (push)
origin git@github.com:<user>/incubator-samoa.git (fetch)
origin git@github.com:<user>/incubator-samoa.git (push))
upstream git@github.com:apache/incubator-samoa.git (fetch)
upstream git@github.com:apache/incubator-samoa.git (push)

Anchor
autofetch
autofetch

Checkout a pull request

To review a pull request you will need to do a local checkout.

git fetch upstream pull/ID/head:SAMOA-XX
git checkout SAMOA-XX

In the command above, ID is the identifier of the pull request on GitHub, and as a convention the branch SAMOA-XX has the same name as the JIRA issue tracking the pull request.

Fetch pull requests automatically

If you review many pull requests, you can setup your git clone to automatically fetch the pull requests from the upstream remote.
The order in which you add the refs is important (pull goes before heads). 

...