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

Compare with Current View Page History

« Previous Version 3 Current »

Description

git-pr apply applies the patch for a pull request to your local repository. This equivalent to download the patch for a pull request manually and then running git apply.

Usage

$ git pr apply -h
usage: git-pr [options] [<ID>]
        -u, --username NAME  Username on host
        -r, --remote NAME    Name of remote, defaults to 'origin'
            --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

$ git pr apply 786

Configuration

None

Source

Please see GitPrApply.java.

  • No labels