STG-UNCOMMIT(1) StGit Manual STG-UNCOMMIT(1)NAME
stg-uncommit - Turn regular git commits into StGit patches
SYNOPSIS
stg uncommit <patch-name-1> [<patch-name-2> ...]
stg uncommit -n NUM [<prefix>]
stg uncommit -t <committish> [-x]
DESCRIPTION
Take one or more git commits at the base of the current stack and turn them into StGIT patches. The new patches are created as applied
patches at the bottom of the stack. This is the opposite of stg commit.
By default, the number of patches to uncommit is determined by the number of patch names provided on the command line. First name is used
for the first patch to uncommit, i.e. for the newest patch.
The -n/--number option specifies the number of patches to uncommit. In this case, at most one patch name may be specified. It is used as
prefix to which the patch number is appended. If no patch names are provided on the command line, StGIT automatically generates them based
on the first line of the patch description.
The -t/--to option specifies that all commits up to and including the given commit should be uncommitted.
Only commits with exactly one parent can be uncommitted; in other words, you can't uncommit a merge.
OPTIONS -n NUMBER, --number NUMBER
Uncommit the specified number of commits.
-t TO, --to TO
Uncommit to the specified commit.
-x, --exclusive
Exclude the commit specified by the --to option.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-UNCOMMIT(1)
Check Out this Related Man Page
STG-PUSH(1) StGit Manual STG-PUSH(1)NAME
stg-push - Push one or more patches onto the stack
SYNOPSIS
stg push [options] [<patch1>] [<patch2>] [<patch3>..<patch4>]
DESCRIPTION
Push one or more patches (defaulting to the first unapplied one) onto the stack. The push operation allows patch reordering by commuting
them with the three-way merge algorithm. If there are conflicts while pushing a patch, those conflicts are written to the work tree, and
the command halts. Conflicts raised during the push operation have to be fixed and the git add --update command run (alternatively, you may
undo the conflicting push with stg undo).
The command also notifies when the patch becomes empty (fully merged upstream) or is modified (three-way merged) by the push operation.
OPTIONS -a, --all
Push all the unapplied patches.
-n NUMBER, --number NUMBER
Push the specified number of patches.
--reverse
Push the patches in reverse order.
--set-tree
Push the patches, but don't perform a merge. Instead, the resulting tree will be identical to the tree that the patch previously
created.
This can be useful when splitting a patch by first popping the patch and creating a new patch with some of the changes. Pushing the
original patch with --set-tree will avoid conflicts and only the remaining changes will be in the patch.
-k, --keep
Keep the local changes.
-m, --merged
Check for patches merged upstream.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-PUSH(1)
Is there a way to script so you can check patches and output to a file? Example: 50 unix systems (versions 2.51, 2.60, 2.8) and check to see if one particular patch is installed? (ex. 106160-02)
I know the showrev -p will work, but I would like to automate it.
Hope Christmas was good!
... (2 Replies)
i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options.
Assessing patches needed for your system...... (8 Replies)
Hi I need to check if the following patches are installed in a HP-UX machine "GOLDQPK11i, which in turn includes both GOLDAPPS11i and
GLODBASE11i
How can I go about doing it, am still a struggling sys admin!
Saw this command showrev -p but command not found in the machine thou!
Thanks... (3 Replies)
I am having trouble installing some HPUX patches on my B1000 11.11. I am a novice
at this so bear with me. I understand how to install depots. Very easy.
Now I'm trying to patch my system so I can get the Oracle client installed.
Oracle says I need these two patches: PHCO_23770, PHCO_23092
I... (4 Replies)
I'm attempting to install a Sun patch and keep getting an error:
# patchadd /tmp/patches/110722-03
Checking installed patches...
One or more patch packages included in
110722-03 are not installed on this system.
Patchadd is terminating.
#
How can I find out what are the "One or... (7 Replies)
Hi,
How do I know what os patches have been applied to my unix box?. I tried swlist command. But I couldn't understand the bundles and products.
$ uname -a
HP-UX hppi004 B.11.11 U 9000/800 1834916430 unlimited-user license
$
Thanks in advance,
-Ashish (1 Reply)
Hello,
I am new to Solaris.
I've installed Solaris 10.0 and trying to apply all patches. On Java Desktop, I've applied almost all patches but some of patches should be applied manually on the command line.
The patches -should be applied manually on terminal- are downloaded by Sun Update... (1 Reply)
Hi all, :)
I'm quite new with installation of security patches in Linux Redhat Enterprise, here's my question.
I have 2 machine of this RHEL(never patch before) since it never connects directly to the internet(block by firewall) and I want to update the patches now because my boss asked me to... (1 Reply)
Hello,
The 10_Recommended update failed on 3 of 191, which was patch 119254-73 (the 1st 2 patches were skipped). I looked up the patch on Sunsolve (http://sunsolve.sun.com/search/document.do?assetkey=1-21-119254), which stated that 121133-02 was a required patch for 119254-73. I did a "showrev... (7 Replies)
Hi,
I have a file with th elist of patches separated by comma, like below:
patch1, patch 2, patch 3................
t\The number of patches is not known as it changes every time.
I need assistance in writing a routine such as it will take patch1 as first variable and performs the... (4 Replies)
I have applied a patch using this command:
patch -p1 < (file)
then I did git commit -a.
Now I want to recompile the kernel for making this patch live.
Should I use
make oldconfig
or
make localmodconfig
After that,
make -j$(grep -c "processor" /proc/cpuinfo)
sudo make... (1 Reply)