snippetbashTip
git pr — Check out GitHub pull requests locally. Part of `git-extras`. More information: <https://github.com/
Viewed 0 times
git prcommandpullgithubrequestsclioutcheck
Problem
How to use the
git pr command: Check out GitHub pull requests locally. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-pr>.Solution
git pr — Check out GitHub pull requests locally. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-pr>.Check out a specific pull request:
git pr {{pr_number}}Check out a pull request from a specific remote:
git pr {{pr_number}} {{remote}}Check out a pull request from its URL:
git pr {{url}}Clean up old pull request branches:
git pr cleanCode Snippets
Check out a specific pull request
git pr {{pr_number}}Check out a pull request from a specific remote
git pr {{pr_number}} {{remote}}Check out a pull request from its URL
git pr {{url}}Clean up old pull request branches
git pr cleanContext
tldr-pages: common/git pr
Revisions (0)
No revisions yet.