1 $ git format-patch --attach --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] Second
7 Content-Type: multipart/mixed;
8 boundary="------------g-i-t--v-e-r-s-i-o-n"
10 This is a multi-part message in MIME format.
11 --------------g-i-t--v-e-r-s-i-o-n
12 Content-Type: text/plain; charset=UTF-8; format=fixed
13 Content-Transfer-Encoding: 8bit
16 This is the second commit.
21 3 files changed, 5 insertions(+), 3 deletions(-)
22 --------------g-i-t--v-e-r-s-i-o-n
23 Content-Type: text/x-patch;
24 name="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
25 Content-Transfer-Encoding: 8bit
26 Content-Disposition: inline;
27 filename="1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44.diff"
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] Third
68 Content-Type: multipart/mixed;
69 boundary="------------g-i-t--v-e-r-s-i-o-n"
71 This is a multi-part message in MIME format.
72 --------------g-i-t--v-e-r-s-i-o-n
73 Content-Type: text/plain; charset=UTF-8; format=fixed
74 Content-Transfer-Encoding: 8bit
79 2 files changed, 5 insertions(+), 0 deletions(-)
80 --------------g-i-t--v-e-r-s-i-o-n
81 Content-Type: text/x-patch;
82 name="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
83 Content-Transfer-Encoding: 8bit
84 Content-Disposition: inline;
85 filename="9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0.diff"
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--
111 From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
112 From: A U Thor <author@example.com>
113 Date: Mon, 26 Jun 2006 00:03:00 +0000
114 Subject: [PATCH] Side
116 Content-Type: multipart/mixed;
117 boundary="------------g-i-t--v-e-r-s-i-o-n"
119 This is a multi-part message in MIME format.
120 --------------g-i-t--v-e-r-s-i-o-n
121 Content-Type: text/plain; charset=UTF-8; format=fixed
122 Content-Transfer-Encoding: 8bit
128 3 files changed, 9 insertions(+), 0 deletions(-)
129 --------------g-i-t--v-e-r-s-i-o-n
130 Content-Type: text/x-patch;
131 name="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
132 Content-Transfer-Encoding: 8bit
133 Content-Disposition: inline;
134 filename="c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a.diff"
136 diff --git a/dir/sub b/dir/sub
137 index 35d242b..7289e35 100644
145 diff --git a/file0 b/file0
146 index 01e79c3..f4615da 100644
156 diff --git a/file3 b/file3
158 index 0000000..7289e35
167 --------------g-i-t--v-e-r-s-i-o-n--