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

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. CLI Tools

Page History

Versions Compared

Old Version 42

changes.mady.by.user Erik Helin

Saved on Apr 21, 2020

compared with

New Version 43

changes.mady.by.user Erik Helin

Saved on Apr 21, 2020

  • Previous Change: Difference between versions 41 and 42
  • Next Change: Difference between versions 43 and 44
  • View Page History

Key

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

...

The command git fork will also clone your personal fork to a local repository on your computer.

...

Publishing a local branch

To publish a local branch to a remote repository, run the following command:

...

  • If you want to run jcheck on your changes before the pull request is created, pass the flag --jcheck
  • If you want the local branch to be published automatically, pass the flag --publish

Listing pull requests

To list the open pull requests for a repository, run the command git pr list in a local clone of your personal fork:

...

  • You can filter the listed pull requests by passing additional flags such --assignees=<USERNAMES>, --authors=<USERNAMES>, --labels=<LABELS>
  • You can select the columns to show by passing the --columns flag, for example --columns=id,title

Setting properties of a pull request

To set properties of a pull request, run the command git pr set:

Code Block
languagebash
$ git pr set

Examples:

  • To set the title of a pull request, run git pr set --title <TITLE>
  • To set the body of a pull request, run git pr set --body <BODY>
  • To close a pull request, run git pr set --closed

Integrating a pull request

To integrate a pull request that you have created, run the command git pr integrate:

Code Block
languagebash
$ git pr integrate

Notes:

  • If you find yourself typing git pr integrate a lot, you might want to create the alias "integrate":

    Code Block
    languagebash
    $ git config --global alias.integrate 'pr integrate'

    You can then just run git integrate to integrate a pull request.

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