Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stg-uncommit(1) [debian man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Checking Multiple patches

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)
Discussion started by: Krusty
2 Replies

2. UNIX for Advanced & Expert Users

Solaris Package Manager problem

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)
Discussion started by: xyyz
8 Replies

3. HP-UX

How to check patches involved

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)
Discussion started by: gelbvonn
3 Replies

4. HP-UX

Help with swinstall HP patches

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)
Discussion started by: natter
4 Replies

5. Solaris

Installing patches

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)
Discussion started by: FredSmith
7 Replies

6. UNIX for Advanced & Expert Users

Info about OS patches

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)
Discussion started by: shriashishpatil
1 Replies

7. UNIX for Dummies Questions & Answers

line by line read

hi, how to read a file line by line and patch the read line ($3) into the new file $x? (2 Replies)
Discussion started by: tungaw2004
2 Replies

8. UNIX for Dummies Questions & Answers

Signiture verification failed

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)
Discussion started by: XNOR
1 Replies

9. UNIX for Advanced & Expert Users

Linux security patches

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)
Discussion started by: flekzout
1 Replies

10. Solaris

Pre-requsite for patches.......

Hi all....... I want to download some patches.......Is there any pre-requsite is taken before downloading a patch........... (1 Reply)
Discussion started by: sudhansu
1 Replies

11. Solaris

How to add patches

Dear all, Can anyone explain me how to add more than one patch at a time. please explain me with command. (2 Replies)
Discussion started by: suneelieg
2 Replies

12. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

13. Solaris

10 Recommended Patch Not Working

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)
Discussion started by: stringman
7 Replies

14. Shell Programming and Scripting

parsing comma separated file

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)
Discussion started by: avikaljain
4 Replies

15. Ubuntu

Recompile the kernel after applying a patch in Ubuntu.

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)
Discussion started by: BHASKAR JUPUDI
1 Replies