• 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

Skip to end of metadata
  • Created by Erik Helin, last modified on Sep 04, 2020
Go to start of metadata

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.

  • Adaptavist ThemeBuilder Powered by Atlassian Confluence 7.4.1
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 236, "requestCorrelationId": "6c5306dc7036e1b0"}