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-SINK(1) StGit Manual STG-SINK(1)NAME
stg-sink - Send patches deeper down the stack
SYNOPSIS
stg sink [-t <target patch>] [-n] [<patches>]
DESCRIPTION
This is the opposite operation of linkstg:float[]: move the specified patches down the stack. It is for example useful to group stable
patches near the bottom of the stack, where they are less likely to be impacted by the push of another patch, and from where they can be
more easily committed or pushed.
If no patch is specified on command-line, the current patch gets sunk. By default patches are sunk to the bottom of the stack, but the --to
option allows to place them under any applied patch.
Sinking internally involves popping all patches (or all patches including <target patch>), then pushing the patches to sink, and then
(unless --nopush is also given) pushing back into place the formerly-applied patches.
OPTIONS -n, --nopush
Do not push back on the stack the formerly-applied patches. Only the patches to sink are pushed.
-t TARGET, --to TARGET
Specify a target patch to place the patches below, instead of sinking them to the bottom of the stack.
-k, --keep
Keep the local changes.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-SINK(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)