X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-applypatch.txt;h=2b1ff1454b48a6f45897a330ce4273b29f800b21;hb=HEAD;hp=55facd2c7a4c8e0c8a142ba3bc3d64902276ba84;hpb=58eaf287f1b25f6427b06bd72d8e555615828aeb;p=git.git diff --git a/Documentation/git-applypatch.txt b/Documentation/git-applypatch.txt index 55facd2c..2b1ff145 100644 --- a/Documentation/git-applypatch.txt +++ b/Documentation/git-applypatch.txt @@ -3,25 +3,37 @@ git-applypatch(1) NAME ---- -git-applypatch - Some git command not yet documented. +git-applypatch - Apply one patch extracted from an e-mail SYNOPSIS -------- -'git-applypatch' [ --option ] ... +'git-applypatch' [] DESCRIPTION ----------- -Does something not yet documented. +Takes three files , , and prepared from an +e-mail message by 'git-mailinfo', and creates a commit. It is +usually not necessary to use this command directly. + +This command can run `applypatch-msg`, `pre-applypatch`, and +`post-applypatch` hooks. See link:hooks.html[hooks] for more +information. OPTIONS ------- ---option:: - Some option not yet documented. +:: + Commit log message (sans the first line, which comes + from e-mail Subject stored in ). + +:: + The patch to apply. -...:: - Some argument not yet documented. +:: + Author and subject information extracted from e-mail, + used on "author" line and as the first line of the + commit log message. Author @@ -34,5 +46,5 @@ Documentation by Junio C Hamano and the git-list . GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite