Comment Comment by bcruddy Add this to your global git config `[alias]` block: cpr="!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f" `git cpr 207` then checks out PR #207. parent bcruddy 6 years ago