'\" t .\" Title: stg-pick .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 03/26/2014 .\" Manual: StGit Manual .\" Source: StGit .\" Language: English .\" .TH "STG\-PICK" "1" "03/26/2014" "StGit" "StGit Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" stg-pick \- Import a patch from a different branch or a commit object .SH "SYNOPSIS" .sp .nf \fIstg\fR pick [options] [\-\-] ([] [] [\&.\&.])| .fi .SH "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 \fI\-\-name\fR option\&. A commit object can be reverted with the \fI\-\-revert\fR option\&. The log and author information are those of the commit object\&. .SH "OPTIONS" .PP \-n NAME, \-\-name NAME .RS 4 Use NAME as the patch name\&. .RE .PP \-B REF\-BRANCH, \-\-ref\-branch REF\-BRANCH .RS 4 Pick patches from BRANCH\&. .RE .PP \-r, \-\-revert .RS 4 Revert the given commit object\&. .RE .PP \-p COMMITID, \-\-parent COMMITID .RS 4 Use COMMITID as parent\&. .RE .PP \-x, \-\-expose .RS 4 Append the imported commit id to the patch log\&. .RE .PP \-\-fold .RS 4 Fold the commit object into the current patch\&. .RE .PP \-\-update .RS 4 Like fold but only update the current patch files\&. .RE .PP \-f FILE, \-\-file FILE .RS 4 Only fold the given file (can be used multiple times)\&. .RE .PP \-\-unapplied .RS 4 Keep the patch unapplied\&. .RE .SH "STGIT" Part of the StGit suite \- see \fBstg\fR(1)