stg-delete(1) Delete patches


stg delete [options] [--] <patch1> [<patch2>] [<patch3>..<patch4>]


Delete the patches passed as arguments.



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.

-b BRANCH, --branch BRANCH

Use BRANCH instead of the default branch.

-t, --top

Delete top patch.


Part of the StGit suite - see stg(1)