Fetch and switch to a pull request locally.
Section: Pull Requests Core
Check out a PR
bash
bash
gh pr checkout 123Explanation
Fetch and switch to a pull request locally.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Pull Requests Core