table of contents
| STG-FOLD(1) | StGit Manual | STG-FOLD(1) |
NAME¶
stg-fold - Fold diff file into the current patch
SYNOPSIS¶
stg fold [OPTIONS] [file]
DESCRIPTION¶
Fold diff file into the current patch. The given GNU diff file (or standard input) is applied onto the current patch.
With the --threeway option, the diff is applied onto the bottom of the current patch and a three-way merge is performed with the current top. With the --base option, the diff is applied onto the specified base and a three-way merge is performed with the current top.
OPTIONS¶
-t, --threeway
-b <committish>, --base=<committish>
-p <n>, --strip=<n>
-C <n>
--reject
STGIT¶
Part of the StGit suite - see stg(1)
| 06/09/2026 | StGit 2.6.0 |