Y
Hacker News
new
|
ask
|
show
|
jobs
by
bcruddy
2319 days 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.