• 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. set

set

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

Description

git-pr set sets properties of a pull request such as title, body, draft state, etc.

Usage

$ git pr set -h
usage: git-pr [options] [<ID>]
        -u, --username NAME   Username on host
        -r, --remote NAME     Name of remote, defaults to 'origin'
            --assignees LIST  Comma separated list of assignees
            --title MESSAGE   The title of the pull request
            --open            Set the pull request's state to open
            --closed          Set the pull request's state to closed
            --body            Set the body of the pull request
            --no-draft        Mark the pull request as not draft
            --verbose         Turn on verbose output
            --debug           Turn on debugging output
            --version         Print the version of this tool
        -h, --help            Show this help text

Examples

Set the title of a pull request with id 756 to "8123456: This is a bugfix":

$ git pr set --title='8123456: This is a bugfix' 756


Assign the pull request with id 756 to edvbld:

$ git pr set --assignees=edvbld 756


Close the pull request with id 756:

$ git pr set --closed 756


Re-open the pull request with id 756:

$ git pr set --open 756


Move the pull request with 756 from draft state to a ready for review state:

$ git pr set --no-draft 756

Configuration

None.

Source

See GitPrSet.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": 180, "requestCorrelationId": "03099821b52deb24"}