table of contents
STG-PICK(1) | StGit Manual | STG-PICK(1) |
NAME¶
stg-pick - Import a patch from another branch or a commit object
SYNOPSIS¶
stg pick [OPTIONS] <source>... stg pick [OPTIONS] [--name NAME] [--parent COMMITTISH] <source> stg pick [OPTIONS] --fold [--file PATH]... <source>... stg pick [OPTIONS] --update <source>...
DESCRIPTION¶
Import one or more patches from another branch or commit object into the current series.
By default, the imported patch’s name is reused, but may be overridden with the --name option. A commit object can be reverted with the --revert option.
When using the --expose option, the format of the commit message is determined by the stgit.pick.expose-format configuration option. This option is a format string as may be supplied to the --pretty option of git-show(1). The default is "format:%B%n(imported from commit %H)", which appends the commit hash of the picked commit to the patch’s commit message.
OPTIONS¶
-B <branch>, --ref-branch=<branch>
-r, --revert
-x, --expose
--noapply
-n <name>, --name=<name>
-p <committish>, --parent=<committish>
--committer-date-is-author-date
--fold
--update
-f <path>, --file=<path>
STGIT¶
Part of the StGit suite - see stg(1)
09/20/2024 | StGit 2.4.12 |