'\" t .\" Title: stg-commit .\" 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\-COMMIT" "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-commit \- Permanently store the applied patches into the stack base .SH "SYNOPSIS" .sp .nf \fIstg\fR commit \fIstg\fR commit [\-\-] \fIstg\fR commit \-n NUM \fIstg\fR commit \-\-all .fi .SH "DESCRIPTION" Merge one or more patches into the base of the current stack and remove them from the series while advancing the base\&. This is the opposite of \fIstg uncommit\fR\&. Use this command if you no longer want to manage a patch with StGIT\&. By default, the bottommost patch is committed\&. If patch names are given, the stack is rearranged so that those patches are at the bottom, and then they are committed\&. The \-n/\-\-number option specifies the number of applied patches to commit (counting from the bottom of the stack)\&. If \-a/\-\-all is given, all applied patches are committed\&. .SH "OPTIONS" .PP \-n NUMBER, \-\-number NUMBER .RS 4 Commit the specified number of patches\&. .RE .PP \-a, \-\-all .RS 4 Commit all applied patches\&. .RE .SH "STGIT" Part of the StGit suite \- see \fBstg\fR(1)