Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stg-import(1) [debian man page]

STG-IMPORT(1)							   StGit Manual 						     STG-IMPORT(1)

NAME
stg-import - Import a GNU diff file as a new patch SYNOPSIS
stg import [options] [<file>|<url>] DESCRIPTION
Create a new patch and apply the given GNU diff file (or the standard input). By default, the file name is used as the patch name but this can be overridden with the --name option. The patch can either be a normal file with the description at the top or it can have standard mail format, the Subject, From and Date headers being used for generating the patch information. The command can also read series and mbox files. If a patch does not apply cleanly, the failed diff is written to the .stgit-failed.patch file and an empty StGIT patch is added to the stack. The patch description has to be separated from the data with a --- line. OPTIONS
-m, --mail Import the patch from a standard e-mail file. -M, --mbox Import a series of patches from an mbox file. -s, --series Import a series of patches from a series file or a tar archive. -u, --url Import a patch from a URL. -n NAME, --name NAME Use NAME as the patch name. -p N, --strip N Remove N leading slashes from diff paths (default 1). -t, --stripname Strip numbering and extension from patch name. -i, --ignore Ignore the applied patches in the series. --replace Replace the unapplied patches in the series. -b BASE, --base BASE Use BASE instead of HEAD for file importing. --reject Leave the rejected hunks in corresponding *.rej files. -e, --edit Invoke an editor for the patch description. -d, --showdiff Show the patch content in the editor buffer. -a "NAME <EMAIL>", --author "NAME <EMAIL>" Use "NAME <EMAIL>" as the author details. --authname AUTHNAME Use AUTHNAME as the author name. --authemail AUTHEMAIL Use AUTHEMAIL as the author e-mail. --authdate AUTHDATE Use AUTHDATE as the author date. --sign Add a "Signed-off-by:" to the end of the patch. --ack Add an "Acked-by:" line to the end of the patch. STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-IMPORT(1)

Check Out this Related Man Page

GIT-QUILTIMPORT(1)                                                  Git Manual                                                  GIT-QUILTIMPORT(1)

NAME
git-quiltimport - Applies a quilt patchset onto the current branch SYNOPSIS
git quiltimport [--dry-run | -n] [--author <author>] [--patches <dir>] [--series <file>] DESCRIPTION
Applies a quilt patchset onto the current Git branch, preserving the patch boundaries, patch order, and patch descriptions present in the quilt patchset. For each patch the code attempts to extract the author from the patch description. If that fails it falls back to the author specified with --author. If the --author flag was not given the patch description is displayed and the user is asked to interactively enter the author of the patch. If a subject is not found in the patch description the patch name is preserved as the 1 line subject in the Git description. OPTIONS
-n, --dry-run Walk through the patches in the series and warn if we cannot find all of the necessary information to commit a patch. At the time of this writing only missing author information is warned about. --author Author Name <Author Email> The author name and email address to use when no author information can be found in the patch description. --patches <dir> The directory to find the quilt patches. The default for the patch directory is patches or the value of the $QUILT_PATCHES environment variable. --series <file> The quilt series file. The default for the series file is <patches>/series or the value of the $QUILT_SERIES environment variable. GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-QUILTIMPORT(1)
Man Page