I\'m aware of How can I check out a GitHub pull request?
While adding fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to .git/config does al
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
.git/config
One correct way is with hub! :)
:)
$ brew install hub $ hub checkout https://github.com/github/hub/pull/123 ... $ hub pull Already up-to-date.
It has extra utilities for working with Github pull requests, such as
hub pull-request