1 $ git format-patch --inline --stdout initial..master^
2 From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
3 From: A U Thor <author@example.com>
4 Date: Mon, 26 Jun 2006 00:01:00 +0000
5 Subject: [PATCH 1/2] Second
7 Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
9 This is a multi-part message in MIME format.
10 --------------g-i-t--v-e-r-s-i-o-n
11 Content-Type: text/plain; charset=UTF-8; format=fixed
12 Content-Transfer-Encoding: 8bit
15 This is the second commit.
20 3 files changed, 5 insertions(+), 3 deletions(-)
21 delete mode 100644 file2
24 --------------g-i-t--v-e-r-s-i-o-n
25 Content-Type: text/x-patch; name="0001-Second.patch"
26 Content-Transfer-Encoding: 8bit
27 Content-Disposition: inline; filename="0001-Second.patch"
29 diff --git a/dir/sub b/dir/sub
30 index 35d242b..8422d40 100644
38 diff --git a/file0 b/file0
39 index 01e79c3..b414108 100644
49 diff --git a/file2 b/file2
50 deleted file mode 100644
51 index 01e79c3..0000000
59 --------------g-i-t--v-e-r-s-i-o-n--
63 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
64 From: A U Thor <author@example.com>
65 Date: Mon, 26 Jun 2006 00:02:00 +0000
66 Subject: [PATCH 2/2] Third
68 Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n"
70 This is a multi-part message in MIME format.
71 --------------g-i-t--v-e-r-s-i-o-n
72 Content-Type: text/plain; charset=UTF-8; format=fixed
73 Content-Transfer-Encoding: 8bit
78 2 files changed, 5 insertions(+), 0 deletions(-)
79 create mode 100644 file1
82 --------------g-i-t--v-e-r-s-i-o-n
83 Content-Type: text/x-patch; name="0002-Third.patch"
84 Content-Transfer-Encoding: 8bit
85 Content-Disposition: inline; filename="0002-Third.patch"
87 diff --git a/dir/sub b/dir/sub
88 index 8422d40..cead32e 100644
97 diff --git a/file1 b/file1
99 index 0000000..b1e6722
107 --------------g-i-t--v-e-r-s-i-o-n--