You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

git-pr list lists pull requests targeted towards a repository. If the command is run in a local clone of a personal fork, then git-pr list will list pull requests targeted to the upstream repository (the repository the personal fork was created from). The various flags to git-pr list can be used to filter the pull requests that should be listed. The flag --columns can be used to specify the columns that should printed. The flag --no-decoration removes any additional output, this can be useful for scripting.

Usage

$ git pr list -h
usage: git-pr [options] [<ID>]
        -u, --username NAME                             Username on host
        -r, --remote NAME                               Name of remote, defaults to 'origin'
            --authors LIST                              Comma separated list of authors
            --assignees LIST                            Comma separated list of assignees
            --labels LIST                               Comma separated list of labels
            --issues LIST                               Comma separated list of issues
            --columns id,title,author,assignees,labels  Comma separated list of columns to show
            --no-decoration                             Hide any decorations when listing PRs
            --no-draft                                  Hide all pull requests in draft state
            --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

Configuration

Source

  • No labels