GIT-MAILINFO(1) | Git Manual | GIT-MAILINFO(1) |
git-mailinfo - Extracts patch and authorship from a single e-mail message
git mailinfo [-k|-b] [-u | --encoding=<encoding> | -n] [--[no-]scissors] <msg> <patch>
Reads a single e-mail message from the standard input, and writes the commit log message in <msg> file, and the patches in <patch> file. The author name, e-mail and e-mail subject are written out to the standard output to be used by git am to create a commit. It is usually not necessary to use this command directly. See git-am(1) instead.
-k
Specifically, the following are removed until none of them remain:
Finally, runs of whitespace are normalized to a single ASCII space character.
-b
-u
Note that the patch is always used as-is without charset conversion, even with this flag.
--encoding=<encoding>
-n
-m, --message-id
--scissors
This is useful if you want to begin your message in a discussion thread with comments and suggestions on the message you are responding to, and to conclude it with a patch submission, separating the discussion and the beginning of the proposed commit log message with a scissors line.
This can be enabled by default with the configuration option mailinfo.scissors.
--no-scissors
<msg>
<patch>
Part of the git(1) suite
04/20/2020 | Git 2.20.1 |