Versions Compared

Key

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

...

remote: Counting objects: 554, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 554 (delta 67), reused 40 (delta 40), pack-reused 456
Receiving objects: 100% (554/554), 101.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (170/170), done.
From github.com:apache/incubator-samoa
* [new ref] refs/pull/1/head -> upstream/pull/1
* [new ref] refs/pull/2/head -> upstream/pull/2
* [new ref] refs/pull/3/head -> upstream/pull/3
* [new ref] refs/pull/4/head -> upstream/pull/4
* [new ref] refs/pull/5/head -> upstream/pull/5
* [new ref] refs/pull/6/head -> upstream/pull/6
* [new ref] refs/pull/7/head -> upstream/pull/7
* [new ref] refs/pull/8/head -> upstream/pull/8
* [new ref] refs/pull/9/head -> upstream/pull/9

You can now check out a pull request simply as follows.

git checkout -b SAMOA-XX upstream/pull/ID

The new local branch will automatically track the pull request.

Source: https://gist.github.com/piscisaureus/3342247 (note that in SAMOA's case pull requests come to the upstream remote rather than the origin one).

...