aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-applypatch.txt
blob: 5b9037de9f90626d9715de49e39f9708fdc25c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
git-applypatch(1)
=================

NAME
----
git-applypatch - Apply one patch extracted from an e-mail.


SYNOPSIS
--------
'git-applypatch' <msg> <patch> <info> [<signoff>]

DESCRIPTION
-----------
Takes three files <msg>, <patch>, and <info> 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
-------
<msg>::
	Commit log message (sans the first line, which comes
	from e-mail Subject stored in <info>).

<patch>::
	The patch to apply.

<info>::
	Author and subject information extracted from e-mail,
	used on "author" line and as the first line of the
	commit log message.


Author
------
Written by Linus Torvalds <torvalds@osdl.org>

Documentation
--------------
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the gitlink:git[7] suite