git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/pr/*'
git fetch origin
git checkout pr/123
Created
March 27, 2019 18:12
-
-
Save ryan-williams/08d8ac01a73456fa0eda455700160dd6 to your computer and use it in GitHub Desktop.
Add GitHub PRs as refs in local repo clones
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment