update diff-delta.c copyright
[git/dscho.git] / Documentation / git-applypatch.txt
blob451434a757eab84d502a9529c571bc647e8b76d7
1 git-applypatch(1)
2 =================
4 NAME
5 ----
6 git-applypatch - Apply one patch extracted from an e-mail
9 SYNOPSIS
10 --------
11 'git-applypatch' <msg> <patch> <info> [<signoff>]
13 DESCRIPTION
14 -----------
15 This is usually not what an end user wants to run directly.  See
16 gitlink:git-am[1] instead.
18 Takes three files <msg>, <patch>, and <info> prepared from an
19 e-mail message by 'git-mailinfo', and creates a commit.  It is
20 usually not necessary to use this command directly.
22 This command can run `applypatch-msg`, `pre-applypatch`, and
23 `post-applypatch` hooks.  See link:hooks.html[hooks] for more
24 information.
27 OPTIONS
28 -------
29 <msg>::
30         Commit log message (sans the first line, which comes
31         from e-mail Subject stored in <info>).
33 <patch>::
34         The patch to apply.
36 <info>::
37         Author and subject information extracted from e-mail,
38         used on "author" line and as the first line of the
39         commit log message.
42 Author
43 ------
44 Written by Linus Torvalds <torvalds@osdl.org>
46 Documentation
47 --------------
48 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
50 GIT
51 ---
52 Part of the gitlink:git[7] suite