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

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. git-publish

git-publish

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

Description

git-publish publishes a local branch to a remote repository. git-publish can also optionally act on the information returned by a remote forge when a new branch has been published, for example opening a link returned from a remote forge.

Usage

$ git publish -h
usage: git-publish [options] [<ORIGIN>]
        -q, --quiet     Silence all output
            --follow    Open link provided by remote
            --verbose   Turn on verbose output
            --debug     Turn on debugging output
            --version   Print the version of this tool
        -h, --help      Show this help text

Examples

Publish the currently active local branch (named "bugfix") to the remote named origin:

$ git publish
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 12 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (11/11), 772 bytes | 772.00 KiB/s, done.
Total 11 (delta 3), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
remote: 
remote: Create a pull request for 'bugfix' on GitHub by visiting:
remote:      https://github.com/edvbld/jdk/pull/new/bugfix
remote: 
To git@github.com:edvbld/skara.git
 * [new branch]        bugfix -> bugfix
Branch 'bugfix' set up to track remote branch 'bugfix' from 'origin'.

Configuration

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.13
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 192, "requestCorrelationId": "4086dd08df57e1e3"}