git mailinfo
Extract patch and authorship information from a single email message. More information: https://git-scm.com/docs/git-mailinfo.
- Extract the patch and author data from an email message:
git mailinfo
- Extract but remove leading and trailing whitespace:
git mailinfo -k
- Remove everything from the body before a scissors line (e.g. "-->* --") and retrieve the message or patch:
git mailinfo --scissors
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
