GitHub CLI 2 · Pull requests

Check out a pull request

Fetch a pull request's branch and switch to it.

gh pr checkout 123

Official GitHub CLI 2 documentation

More pull requests commands

All pull requests commands · GitHub CLI 2 cheatsheet

Was this page helpful?