table of contents
- buster 1:2.20.1-2+deb10u3
- buster-backports 1:2.29.2-1~bpo10+1
- testing 1:2.30.2-1
- unstable 1:2.32.0-1
- experimental 1:2.32.0+next.20210606-1
GIT-MAILINFO(1) | Git Manual | GIT-MAILINFO(1) |
NAME¶
git-mailinfo - Extracts patch and authorship from a single e-mail messageSYNOPSIS¶
git mailinfo [-k|-b] [-u | --encoding=<encoding> | -n] [--[no-]scissors] <msg> <patch>
DESCRIPTION¶
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.OPTIONS¶
-kSpecifically, 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>
GIT¶
Part of the git(1) suite04/20/2020 | Git 2.20.1 |