In various places, looking for instructions on how to create a local branch from a GitHub Pull Request, I have seen two versions:
git fetch upstream refs/pull/PR_ID/head:NEW_LOCAL_BRANCH
and
git fetch upstream pull/PR_ID/head:NEW_LOCAL_BRANCH
My question is, what's the difference between including "refs
" in the address, and not including it?
Both seem to work fine.