diff-tree_--pretty_--root_--patch-with-stat_initial
39 lines
656 Bytes
| 1 | $ git diff-tree --pretty --root --patch-with-stat initial |
| 2 | commit 444ac553ac7612cc88969031b02b3767fb8a353a |
| 3 | Author: A U Thor <author@example.com> |
| 4 | Date: Mon Jun 26 00:00:00 2006 +0000 |
| 5 | |
| 6 | Initial |
| 7 | --- |
| 8 | dir/sub | 2 ++ |
| 9 | file0 | 3 +++ |
| 10 | file2 | 3 +++ |
| 11 | 3 files changed, 8 insertions(+) |
| 12 | |
| 13 | diff --git a/dir/sub b/dir/sub |
| 14 | new file mode 100644 |
| 15 | index 0000000..35d242b |
| 16 | --- /dev/null |
| 17 | +++ b/dir/sub |
| 18 | @@ -0,0 +1,2 @@ |
| 19 | +A |
| 20 | +B |
| 21 | diff --git a/file0 b/file0 |
| 22 | new file mode 100644 |
| 23 | index 0000000..01e79c3 |
| 24 | --- /dev/null |
| 25 | +++ b/file0 |
| 26 | @@ -0,0 +1,3 @@ |
| 27 | +1 |
| 28 | +2 |
| 29 | +3 |
| 30 | diff --git a/file2 b/file2 |
| 31 | new file mode 100644 |
| 32 | index 0000000..01e79c3 |
| 33 | --- /dev/null |
| 34 | +++ b/file2 |
| 35 | @@ -0,0 +1,3 @@ |
| 36 | +1 |
| 37 | +2 |
| 38 | +3 |
| 39 | $ |