Stacked Git logo

Stacked Git

stg-delete(1)

NAME

stg-delete - Delete patches

SYNOPSIS

stg delete [OPTIONS] <patch>…​
stg delete [OPTIONS] --top

DESCRIPTION

Delete patches

OPTIONS

--spill

Delete the patches, but without modifying the index and worktree. This only works when deleting 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 for splitting a patch into smaller pieces.

-t
--top

Delete topmost patch

-b <branch>
--branch=<branch>

Use BRANCH instead of current branch

StGit

Part of the StGit suite - see stg(1)