blob: b8946321d33f571ef59ed01581bc63dbe9a9147f [file] [log] [blame]
Junio C Hamano7fc9d692005-08-23 01:49:47 -07001git-applypatch(1)
2=================
3
4NAME
5----
Junio C Hamanof85a4192005-08-29 17:21:06 -07006git-applypatch - Apply one patch extracted from an e-mail.
Junio C Hamano7fc9d692005-08-23 01:49:47 -07007
8
9SYNOPSIS
10--------
Junio C Hamanof85a4192005-08-29 17:21:06 -070011'git-applypatch' <msg> <patch> <info> [<signoff>]
Junio C Hamano7fc9d692005-08-23 01:49:47 -070012
13DESCRIPTION
14-----------
Junio C Hamanof85a4192005-08-29 17:21:06 -070015Takes three files <msg>, <patch>, and <info> prepared from an
16e-mail message by 'git-mailinfo', and creates a commit. It is
17usually not necessary to use this command directly.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070018
Junio C Hamano6d35cc72005-09-02 21:19:26 -070019This command can run `applypatch-msg`, `pre-applypatch`, and
20`post-applypatch` hooks. See link:hooks.html[hooks] for more
21information.
22
Junio C Hamano7fc9d692005-08-23 01:49:47 -070023
24OPTIONS
25-------
Junio C Hamanof85a4192005-08-29 17:21:06 -070026<msg>::
27 Commit log message (sans the first line, which comes
28 from e-mail Subject stored in <info>).
Junio C Hamano7fc9d692005-08-23 01:49:47 -070029
Junio C Hamanof85a4192005-08-29 17:21:06 -070030<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.
Junio C Hamano7fc9d692005-08-23 01:49:47 -070037
38
39Author
40------
41Written by Linus Torvalds <torvalds@osdl.org>
42
43Documentation
44--------------
45Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
46
47GIT
48---
49Part of the link:git.html[git] suite
50