diff-tree_--pretty_--root_--patch-with-raw_initial
38 lines
885 Bytes
| 1 | $ git diff-tree --pretty --root --patch-with-raw 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 | :000000 100644 0000000000000000000000000000000000000000 35d242ba79ae89ac695e26b3d4c27a8e6f028f9e A dir/sub |
| 9 | :000000 100644 0000000000000000000000000000000000000000 01e79c32a8c99c557f0757da7cb6d65b3414466d A file0 |
| 10 | :000000 100644 0000000000000000000000000000000000000000 01e79c32a8c99c557f0757da7cb6d65b3414466d A file2 |
| 11 | |
| 12 | diff --git a/dir/sub b/dir/sub |
| 13 | new file mode 100644 |
| 14 | index 0000000..35d242b |
| 15 | --- /dev/null |
| 16 | +++ b/dir/sub |
| 17 | @@ -0,0 +1,2 @@ |
| 18 | +A |
| 19 | +B |
| 20 | diff --git a/file0 b/file0 |
| 21 | new file mode 100644 |
| 22 | index 0000000..01e79c3 |
| 23 | --- /dev/null |
| 24 | +++ b/file0 |
| 25 | @@ -0,0 +1,3 @@ |
| 26 | +1 |
| 27 | +2 |
| 28 | +3 |
| 29 | diff --git a/file2 b/file2 |
| 30 | new file mode 100644 |
| 31 | index 0000000..01e79c3 |
| 32 | --- /dev/null |
| 33 | +++ b/file2 |
| 34 | @@ -0,0 +1,3 @@ |
| 35 | +1 |
| 36 | +2 |
| 37 | +3 |
| 38 | $ |