Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 1 | git-applypatch(1) |
| 2 | ================= |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | f85a419 | 2005-08-29 17:21:06 -0700 | [diff] [blame] | 6 | git-applypatch - Apply one patch extracted from an e-mail. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | f85a419 | 2005-08-29 17:21:06 -0700 | [diff] [blame] | 11 | 'git-applypatch' <msg> <patch> <info> [<signoff>] |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
Junio C Hamano | f85a419 | 2005-08-29 17:21:06 -0700 | [diff] [blame] | 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. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 18 | |
Junio C Hamano | 6d35cc7 | 2005-09-02 21:19:26 -0700 | [diff] [blame] | 19 | This command can run `applypatch-msg`, `pre-applypatch`, and |
| 20 | `post-applypatch` hooks. See link:hooks.html[hooks] for more |
| 21 | information. |
| 22 | |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 23 | |
| 24 | OPTIONS |
| 25 | ------- |
Junio C Hamano | f85a419 | 2005-08-29 17:21:06 -0700 | [diff] [blame] | 26 | <msg>:: |
| 27 | Commit log message (sans the first line, which comes |
| 28 | from e-mail Subject stored in <info>). |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 29 | |
Junio C Hamano | f85a419 | 2005-08-29 17:21:06 -0700 | [diff] [blame] | 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. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 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 link:git.html[git] suite |
| 50 | |