3 ms·
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 ch
by bcruddy 7y ago
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.