Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stg-export(1) [debian man page]

STG-EXPORT(1)							   StGit Manual 						     STG-EXPORT(1)

NAME
stg-export - Export patches to a directory SYNOPSIS
stg export [options] [<patch1>] [<patch2>] [<patch3>..<patch4>] DESCRIPTION
Export a range of applied patches to a given directory (defaults to patches-<branch>) in a standard unified GNU diff format. A template file (defaulting to .git/patchexport.tmpl or ~/.stgit/templates/patchexport.tmpl or /usr/share/stgit/templates/patchexport.tmpl) can be used for the patch format. The following variables are supported in the template file: %(description)s - patch description %(shortdescr)s - the first line of the patch description %(longdescr)s - the rest of the patch description, after the first line %(diffstat)s - the diff statistics %(authname)s - author's name %(authemail)s - author's e-mail %(authdate)s - patch creation date %(commname)s - committer's name %(commemail)s - committer's e-mail OPTIONS
-d DIR, --dir DIR Export patches to DIR instead of the default. -p, --patch Append .patch to the patch names. -e EXTENSION, --extension EXTENSION Append .EXTENSION to the patch names. -n, --numbered Prefix the patch names with order numbers. -t FILE, --template FILE Use FILE as a template. -b BRANCH, --branch BRANCH Use BRANCH instead of the default branch. -s, --stdout Dump the patches to the standard output. -O OPTIONS, --diff-opts OPTIONS Extra options to pass to "git diff". STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-EXPORT(1)

Check Out this Related Man Page

STG-PICK(1)							   StGit Manual 						       STG-PICK(1)

NAME
stg-pick - Import a patch from a different branch or a commit object SYNOPSIS
stg pick [options] ([<patch1>] [<patch2>] [<patch3>..<patch4>])|<commit> DESCRIPTION
Import one or more patches from a different branch or a commit object into the current series. By default, the name of the imported patch is used as the name of the current patch. It can be overridden with the --name option. A commit object can be reverted with the --revert option. The log and author information are those of the commit object. OPTIONS
-n NAME, --name NAME Use NAME as the patch name. -B REF-BRANCH, --ref-branch REF-BRANCH Pick patches from BRANCH. -r, --revert Revert the given commit object. -p COMMITID, --parent COMMITID Use COMMITID as parent. -x, --expose Append the imported commit id to the patch log. --fold Fold the commit object into the current patch. --update Like fold but only update the current patch files. -f FILE, --file FILE Only fold the given file (can be used multiple times). --unapplied Keep the patch unapplied. STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-PICK(1)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

patch

Dear Guys , I use Linux Red Hat 9 .. i installed a patch for a web mail i use , and i think it make a damage for my web mail i cannot see it anymore . i get so many error messages . what i want to ask is there any command on linux i can use to remove the patch !!! i want to remove the... (1 Reply)
Discussion started by: tamemi
1 Replies

2. Shell Programming and Scripting

Compare files from two directories

HI, i want to compare one file from one directory to many files in other directory. means in my /DIR/20070930/b/STG* directory i have only one file and in /DIR/20070930/a/STG* directory i have many files. so i want to check the name of that files should be present in other directory or not ... (2 Replies)
Discussion started by: ravi214u
2 Replies

3. Solaris

how to find out the file's name excluding string?

Hello, Under one directory, I can use below command to find out the file names with string "Export terminated successfully without warnings" grep -i -l "Export terminated successfully without warnings" *.* My question is : how I find out the file names without including string "Export... (5 Replies)
Discussion started by: GreatJerry
5 Replies

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

5. Shell Programming and Scripting

Finding consecutive numbers in version names on a txt file

Hi all. I have a directory which contains files that can be versioned. All the files are named according to a pattern like this: TEXTSTRING1-001.EXTENSION TEXTSTRING2-001.EXTENSION TEXTSTRING3-001.EXTENSION ... TEXTSTRINGn-001.EXTENSION If a file is versioned, a file called ... (10 Replies)
Discussion started by: fox1212
10 Replies

6. HP-UX

Looking for patch B6825AA

I've a workstation visualize C3600 with graphic hw F5X and hpux 10.20 Unfortunatly I need patch B6825AA otherwise my wk doesn't recognize F5X Where can I find this patch? (9 Replies)
Discussion started by: gimbo58
9 Replies

7. Homework & Coursework Questions

DB2 Export and Import Oracle

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: is this enough to make the data perfect export into delimited file? there are some posted that i read, they... (9 Replies)
Discussion started by: Sonny_103024
9 Replies