table of contents
GIT-MAILINFO(1) | Git Manual | GIT-MAILINFO(1) |
NAME¶
git-mailinfo - Extracts patch and authorship from a single e-mail message
SYNOPSIS¶
git mailinfo [-k|-b] [-u | --encoding=<encoding> | -n] [--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¶
-k
-b
-u
Note that the patch is always used as-is without charset conversion, even with this flag.
--encoding=<encoding>
-n
--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 enabled by default with the configuration option mailinfo.scissors.
--no-scissors
<msg>
<patch>
AUTHOR¶
Written by Linus Torvalds <torvalds@osdl.org[1]> and Junio C Hamano <gitster@pobox.com[2]>
DOCUMENTATION¶
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org[3]>.
GIT¶
Part of the git(1) suite
NOTES¶
- 1.
- torvalds@osdl.org
- 2.
- gitster@pobox.com
- 3.
- git@vger.kernel.org
02/03/2020 | Git 1.7.1 |