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