Description
git-pr checkout
checks out the commits into a pull request to a branch in a local repository. If --branch
is not supplied, then the head commit of the pull request will be checked out in a detached head state.
Usage
usage: git-pr [options] [<ID>] -u, --username NAME Username on host -r, --remote NAME Name of remote, defaults to 'origin' -b, --branch NAME Create a new branched named NAME --no-token Do not use a personal access token (PAT) --verbose Turn on verbose output --debug Turn on debugging output --version Print the version of this tool -h, --help Show this help text
Examples
Check out pull request with 756 and create a new branch named "review":
$ git pr checkout -b review 756
Configuration
None.
Source
See GitPrCheckout.java.
Overview
Content Tools
ThemeBuilder