• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. checkout

Page History

Versions Compared

Old Version 1

changes.mady.by.user Erik Helin

Saved on Sep 04, 2020

compared with

New Version 2

changes.mady.by.user Erik Helin

Saved on Sep 04, 2020

  • Next Change: Difference between versions 2 and 3
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
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":

Code Block
$ git pr checkout -b review 756

Configuration

None

Source

Please see GitPrCheckout.java.

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 183, "requestCorrelationId": "c6b378d1e2e9f7d1"}