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

Page History

Versions Compared

Old Version 1

changes.mady.by.user Erik Helin

Saved on Sep 04, 2020

compared with

New Version Current

changes.mady.by.user Erik Helin

Saved on Sep 04, 2020

  • View Page History

Key

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

Description

git-pr integrate integrates a pull request into the target branch. If the flag --atomic is specified, then git-pr integrate will use the current head of the target branch in the local repository as the commit to integrate on top of. For more information about integrating, see the documentation for the pull request command /integrate.

Usage

Code Block
$ git pr integrate -h
usage: git-pr [options] [<ID>]
        -u, --username NAME  Username on host
        -r, --remote NAME    Name of remote, defaults to 'origin'
            --atomic         Integrate the pull request atomically
            --verbose        Turn on verbose output
            --debug          Turn on debugging output
            --version        Print the version of this tool
        -h, --help           Show this help text

Examples

Integrate a pull request with id 756:

Code Block
$ git pr integrate 756
Pushed as commit b007595e1a8720e92eb3b03d3a0a0145ef230d00


Integrate a pull request with id 756 without being a Committer in the project:

Code Block
$ git pr integrate 756
Your change (at version 5a451e5a24369c68b2e669cbdbc0f7f55d529945) is now ready to be sponsored by a Committer

Configuration

The flag --atomic can be configured to be on by default:

Code Block
$ git config --global pr.integrate.atomic true

Source

See GitPrIntegrate.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.

  • Adaptavist ThemeBuilder Powered by Atlassian Confluence 7.13.8
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 174, "requestCorrelationId": "5b083f3e617eefad"}