diff-tree_--root_--patch-with-stat_initial
34 lines
546 Bytes
| 1 | $ git diff-tree --root --patch-with-stat initial |
| 2 | 444ac553ac7612cc88969031b02b3767fb8a353a |
| 3 | dir/sub | 2 ++ |
| 4 | file0 | 3 +++ |
| 5 | file2 | 3 +++ |
| 6 | 3 files changed, 8 insertions(+) |
| 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 | $ |