EnglishFrenchSpanish

OnWorks favicon

stg-repair - Online in the Cloud

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

This is the command stg-repair 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-repair - Fix StGit metadata if branch was modified with git commands

SYNOPSIS


stg repair

DESCRIPTION


If you modify an StGit stack (branch) with some git commands — such as commit, pull,
merge, and rebase — you will leave the StGit metadata in an inconsistent state. In that
situation, you have two options:

1. Use "stg undo" to undo the effect of the git commands. (If you know what you are doing
and want more control, "git reset" or similar will work too.)

2. Use "stg repair". This will fix up the StGit metadata to accommodate the modifications
to the branch. Specifically, it will do the following:

· If you have made regular git commits on top of your stack of StGit patches, "stg
repair" makes new StGit patches out of them, preserving their contents.

· However, merge commits cannot become patches; if you have committed a merge on top
of your stack, "repair" will simply mark all patches below the merge unapplied,
since they are no longer reachable. If this is not what you want, use "stg undo"
to get rid of the merge and run "stg repair" again.

· The applied patches are supposed to be precisely those that are reachable from the
branch head. If you have used e.g. "git reset" to move the head, some applied
patches may no longer be reachable, and some unapplied patches may have become
reachable. "stg repair" will correct the appliedness of such patches.

"stg repair" will fix these inconsistencies reliably, so as long
as you like what it does, you have no reason to avoid causing
them in the first place. For example, you might find it
convenient to make commits with a graphical tool and then have
"stg repair" make proper patches of the commits.

Note
If using git commands on the stack was a mistake, running "stg repair" is not what you
want. In that case, what you want is option (1) above.

STGIT


Part of the StGit suite - see stg(1)

Use stg-repair online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad