git-applypatch(1)

git-applypatch1

Apply one patch extracted from an e-mail

Usage

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

Overview

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 [1]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.

Documentation

Documentation by Junio C Hamano and the git-list <[email protected]>.

Git

Part of the git(7) suite

References

1. hooks

hooks.html

Author

Written by Linus Torvalds <[email protected]>

From git-core 1:1.4.4.4-4+etch4 in Debian 4.0 (Etch). Parsed by carta from the page's man source.