'\" t
.\" Title: stg-delete
.\" 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\-DELETE" "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-delete \- Delete patches
.SH "SYNOPSIS"
.sp
.nf
\fIstg\fR delete [options] [\-\-] [] [\&.\&.]
.fi
.SH "DESCRIPTION"
Delete the patches passed as arguments\&.
.SH "OPTIONS"
.PP
\-\-spill
.RS 4
Delete the patches, but do not touch the index and worktree\&. This only works with applied patches at the top of the stack\&. The effect is to "spill" the patch contents into the index and worktree\&. This can be useful e\&.g\&. if you want to split a patch into several smaller pieces\&.
.RE
.PP
\-b BRANCH, \-\-branch BRANCH
.RS 4
Use BRANCH instead of the default branch\&.
.RE
.PP
\-t, \-\-top
.RS 4
Delete top patch\&.
.RE
.SH "STGIT"
Part of the StGit suite \- see \fBstg\fR(1)