Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stg-squash(1) [debian man page]

STG-SQUASH(1)							   StGit Manual 						     STG-SQUASH(1)

NAME
stg-squash - Squash two or more patches into one SYNOPSIS
stg squash [options] <patches> DESCRIPTION
Squash two or more patches, creating one big patch that contains all their changes. In more detail: 1. Pop all the given patches, plus any other patches on top of them. 2. Push the given patches in the order they were given on the command line. 3. Squash the given patches into one big patch. 4. Allow the user to edit the commit message of the new patch interactively. 5. Push the other patches that were popped in step (1). Conflicts can occur whenever we push a patch; that is, in step (2) and (5). If there are conflicts, the command will stop so that you can resolve them. OPTIONS
-n NAME, --name NAME Name of squashed patch. -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.) --save-template FILE Instead of running the command, just write the message template to FILE, and exit. (If FILE is "-", write to stdout.) When driving StGit from another program, it is often useful to first call a command with --save-template, then let the user edit the message, and then call the same command with --file. STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-SQUASH(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. Solaris

Solaris 10 patches

"Solaris 10 is here and so are the latest patches. For a limited time SunSolve will provide access to all Solaris 10 patches. Download the latest Solaris 10 patches using Patchfinder and find updated support content using the SunSolve Knowledgebase. After this promotion ends, Solaris 10 security... (2 Replies)
Discussion started by: busta
2 Replies

5. 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

6. HP-UX

installation of many patches / bundle

Hi, I need to install these 7 patches on my server: and the below are the 5 dependency to install these patches 1. PHNE_31097; 1(a). PHCO_33205 (dependency) b(a). PHCO_30398 (dependency) 2. PHSS_32508; 3. PHSS_32509; 4. PHSS_32510; 5. PHSS_30970; 6. PHSS_32731; 6(a). PHNE_28810... (2 Replies)
Discussion started by: vipsinghal
2 Replies

7. Solaris

How to update patches to Solaris 10?

I am seeking help to add patches to Solaris 10 on 64 bit Sparc server. This is to prepare the server for the installation of Oracle 10g. Please list command and specific directory that patches should be added to. Thanks (4 Replies)
Discussion started by: duke0001
4 Replies

8. UNIX for Dummies Questions & Answers

Cut a file from line 5745960?

How would I do this simple task? I have a pretty big file, too big to edit in a text editor. I found the line number I need to start with, 5745960. Now I want to say to Unix, give me every line from 5745960 to the end. It seems pretty easy but I can't figure out a simple way to do it. ... (2 Replies)
Discussion started by: LordJezo
2 Replies

9. Solaris

OS patches

Hi all, I am working on SUN-fire server solaris-10 How to find out what & how much " OS patches " installed on it?? plz help me out .:( (3 Replies)
Discussion started by: saurabh84g
3 Replies

10. Solaris

patchadd command

# patchadd /Desktop/117837-08.jar Validating patches... Loading patches installed on the system... Done! Loading patches requested to install. Done! The following requested patches have packages not installed on the system Package SPROcc from directory SPROcc in patch 117837-08 is... (19 Replies)
Discussion started by: seyiisq
19 Replies

11. Shell Programming and Scripting

Grep from file

Dear All I had below mention requirement. Kindly sugguest me possible ways. Thanks Regards Jaydeep IN PUT FILE: CELL BROADCAST SHORT MESSAGE SERVICE MESSAGE DATA ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES 50 1000 0 13 MML 1 1 TEXT ... (2 Replies)
Discussion started by: jaydeep_sadaria
2 Replies

12. Shell Programming and Scripting

Search in file and display

Dear All I had below mention requirement. Kindly sugguest me possible ways. Thanks Regards Jaydeep IN PUT FILE: CELL BROADCAST SHORT MESSAGE SERVICE MESSAGE DATA ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES 50 1000 0 13 MML 1 1 TEXT PAGE *999*1# SONGS4U@30/M- 1 (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies

13. 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

14. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies

15. UNIX for Dummies Questions & Answers

How to get out of vi

I created a file and edited in vi. Do you save the file in the editor or hit esc to come out of edit mode and save the file? (6 Replies)
Discussion started by: debsawyer
6 Replies