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