table of contents
STG-SQUASH(1) | StGit Manual | STG-SQUASH(1) |
NAME¶
stg-squash - Squash two or more patches into one
SYNOPSIS¶
stg squash [OPTIONS] <patch>...
DESCRIPTION¶
Squash two or more patches, creating one patch with their combined changes.
The squash process, at a high level:
Conflicts can occur whenever a patch is pushed; this is, in steps (2) and (5). If conflicts occur, the squash command will halt such that the conflicts may be resolved manually.
OPTIONS¶
-n <name>, --name=<name>
-e, --edit
-d, --diff
-m <message>, --message=<message>
-f <path>, --file=<path>
--no-verify
-s[=<value>], --signoff[=<value>]
The value is optional and defaults to the committer name and email. This option may be provided multiple times.
--ack[=<value>]
The value is optional and defaults to the committer’s name and email. This option may be provided multiple times.
--review[=<value>]
The value is optional and defaults to the committer’s name and email. This option may be provided multiple times.
--author=<name-and-email>
--authname=<name>
--authemail=<email>
--authdate=<date>
Use "now" to use the current time and date.
--committer-date-is-author-date
--save-template=<file>
When driving StGit from another program, it may be useful to first call a command with --save-template, then let the user edit the message, and then call the same command with --file.
STGIT¶
Part of the StGit suite - see stg(1)
09/20/2024 | StGit 2.4.12 |