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

    Loading...
  1. Dashboard
  2. Skara
  3. Skara
  4. CLI Tools
  5. git-pr
  6. checkout

checkout

  • Created by Erik Helin, last modified on Sep 04, 2020

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
  • No labels

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.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 189, "requestCorrelationId": "a5953ad549ede75d"}