EnglishFrenchSpanish

OnWorks favicon

stg-publish - Online in the Cloud

Run stg-publish in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command stg-publish that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


stg-publish - Push the stack changes to a merge-friendly branch

SYNOPSIS


stg publish [options] [--] [branch]

DESCRIPTION


This command commits a set of changes on a separate (called public) branch based on the
modifications of the given or current stack. The history of the public branch is not
re-written, making it merge-friendly and feasible for publishing. The heads of the stack
and public branch may be different but the corresponding tree objects are always the same.

If the trees of the stack and public branch are different (otherwise the command has no
effect), StGit first checks for a rebase of the stack since the last publishing. If a
rebase is detected, StGit creates a commit on the public branch corresponding to a merge
between the new stack base and the latest public head.

If no rebasing was detected, StGit checks for new patches that may have been created on
top of the stack since the last publishing. If new patches are found and are not empty,
they are checked into the public branch keeping the same commit information (e.g. log
message, author, committer, date).

If the above tests fail (e.g. patches modified or removed), StGit creates a new commit on
the public branch having the same tree as the stack but the public head as its parent. The
editor will be invoked if no "--message" option is given.

It is recommended that stack modifications falling in different categories as described
above are separated by a publish command in order to keep the public branch history
cleaner (otherwise StGit would generate a big commit including several stack
modifications).

The --unpublished option can be used to check if there are applied patches that have not
been published to the public branch. This is done by trying to revert the patches in the
public tree (similar to the push --merged detection). The --last option tries to find the
last published patch by checking the SHA1 of the patch tree agains the public tree. This
may fail if the stack was rebased since the last publish command.

The public branch name can be set via the branch.<branch>.public configuration variable
(defaulting to "<branch>.public").

OPTIONS


-b BRANCH, --branch BRANCH
Use BRANCH instead of the default branch.

-l, --last
Show the last published patch.

-u, --unpublished
Show applied patches that have not been published.

--author "NAME <EMAIL>"
Set the author details.

--authname NAME
Set the author name.

--authemail EMAIL
Set the author email.

--authdate DATE
Set the author date.

-m MESSAGE, --message MESSAGE
Use MESSAGE instead of invoking the editor.

-f FILE, --file FILE
Use the contents of FILE instead of invoking the editor. (If FILE is "-", write to
stdout.)

--sign
Add a "Signed-off-by:" to the end of the patch.

--ack
Add an "Acked-by:" line to the end of the patch.

STGIT


Part of the StGit suite - see stg(1)

Use stg-publish online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad