table of contents
STG-DELETE(1) | StGit Manual | STG-DELETE(1) |
NAME¶
stg-delete - Delete patches
SYNOPSIS¶
stg delete [OPTIONS] [<patch>...] stg delete [OPTIONS] [-A] [-U] [-H] stg delete [OPTIONS] --all stg delete [OPTIONS] --top
DESCRIPTION¶
Delete patches
OPTIONS¶
-a, --all
-A, --applied
-U, --unapplied
-H, --hidden
-t, --top
--spill
This can be useful for splitting a patch into smaller pieces.
-b <branch>, --branch=<branch>
--conflicts[=<policy>]
Using --conflicts=allow (or just --conflicts) allows pushing a patch that may result in unresolved merge conflicts. The patch will be pushed and files with conflicts will be left with conflict markers to be resolved manually; or the operation undone with stg undo --hard. This is the default behavior and also corresponds to the "stgit.push.allow-conflicts" variable being set to "true".
Using --conflicts=disallow disallows pushing any patch that would result in merge conflicts. The operation will stop on the last patch that can be pushed without conflicts. This behavior can be configured by setting "stgit.push.allow-conflicts" to "false".
STGIT¶
Part of the StGit suite - see stg(1)
09/20/2024 | StGit 2.4.12 |