mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01:00
5cb545fa22
Instead of keeping the confused end user reading low-level documentation, suggest the higher level commands that implement what the user may want to do using them upfront. Signed-off-by: Junio C Hamano <junkio@cox.net>
53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
git-applypatch(1)
|
|
=================
|
|
|
|
NAME
|
|
----
|
|
git-applypatch - Apply one patch extracted from an e-mail
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-applypatch' <msg> <patch> <info> [<signoff>]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This is usually not what an end user wants to run directly. See
|
|
gitlink:git-am[1] instead.
|
|
|
|
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
|
|
|