1
$ git format-patch --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/3] Second
7
This is the second commit.
12
3 files changed, 5 insertions(+), 3 deletions(-)
13
delete mode 100644 file2
15
diff --git a/dir/sub b/dir/sub
16
index 35d242b..8422d40 100644
24
diff --git a/file0 b/file0
25
index 01e79c3..b414108 100644
35
diff --git a/file2 b/file2
36
deleted file mode 100644
48
From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
49
From: A U Thor <author@example.com>
50
Date: Mon, 26 Jun 2006 00:02:00 +0000
51
Subject: [PATCH 2/3] Third
56
2 files changed, 5 insertions(+)
57
create mode 100644 file1
59
diff --git a/dir/sub b/dir/sub
60
index 8422d40..cead32e 100644
69
diff --git a/file1 b/file1
82
From c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a Mon Sep 17 00:00:00 2001
83
From: A U Thor <author@example.com>
84
Date: Mon, 26 Jun 2006 00:03:00 +0000
85
Subject: [PATCH 3/3] Side
91
3 files changed, 9 insertions(+)
92
create mode 100644 file3
94
diff --git a/dir/sub b/dir/sub
95
index 35d242b..7289e35 100644
103
diff --git a/file0 b/file0
104
index 01e79c3..f4615da 100644
114
diff --git a/file3 b/file3
116
index 0000000..7289e35