Skip to content

Instantly share code, notes, and snippets.

@afreeland
Created June 29, 2022 19:13
Show Gist options
  • Save afreeland/f2e26e02a784e7cae66795a3281dbdb2 to your computer and use it in GitHub Desktop.
Save afreeland/f2e26e02a784e7cae66795a3281dbdb2 to your computer and use it in GitHub Desktop.
Git checkout pull requests
# git fetch {remote} pull/{PR#}/head && git checkout FETCH_HEAD
git fetch upstream pull/855/head && git checkout FETCH_HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment