'\" t
.\" Title: git-format-patch
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets v1.79.2
.\" Date: 2026-09-27
.\" Manual: Git Manual
.\" Source: Git 2.56.0
.\" Language: English
.\"
.TH "GIT\-FORMAT\-PATCH" "1" "2026\-09\-27" "Git 2\&.56\&.0" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-format-patch \- Prepare patches for e\-mail submission
.SH "SYNOPSIS"
.sp
.nf
\fBgit\fR \fBformat\-patch\fR [\fB\-k\fR] [(\fB\-o\fR|\fB\-\-output\-directory\fR) \fI
\fR | \fB\-\-stdout\fR]
[\fB\-\-no\-thread\fR | \fB\-\-thread\fR[\fB=\fR\fI