Skip to content

Instantly share code, notes, and snippets.

@kadikraman
Created February 13, 2021 21:30
Show Gist options
  • Save kadikraman/755651bb847169f97cf8153e1f3ddd38 to your computer and use it in GitHub Desktop.
Save kadikraman/755651bb847169f97cf8153e1f3ddd38 to your computer and use it in GitHub Desktop.
Checkout a PR locally from a work
# 123 is the PR number
git fetch origin pull/123/head:pr/123 && git checkout pr/123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment