@matheusbsbs / matheus-bagliano / commits / d54467b8c3
Fork 0

Don't use dash commands (git-foo) in tutorial-2

Signed-off-by: Ted Percival <ted@midg3t.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ted Percival committed Jun 26, 2008 at 23:22 UTC d54467b8c319571b5dc433b1f7e471c4b0f21caf
1 file changed +5 -5
Documentation/gittutorial-2.txt
+5 -5
@@ -61,9 +61,9 @@ from your own version. Note that you can shorten it to only a few
61 characters to save yourself typing all 40 hex digits:
62
63 ------------------------------------------------
64 -$ git-cat-file -t 54196cc2
64 +$ git cat-file -t 54196cc2
65 commit
66 -$ git-cat-file commit 54196cc2
66 +$ git cat-file commit 54196cc2
67 tree 92b8b694ffb1675e5975148e1121810081dbdffe
68 author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500
69 committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500
@@ -166,7 +166,7 @@ hello world!
166 and the "parent" object refers to the previous commit:
167
168 ------------------------------------------------
169 -$ git-cat-file commit 54196cc2
169 +$ git cat-file commit 54196cc2
170 tree 92b8b694ffb1675e5975148e1121810081dbdffe
171 author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500
172 committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500
@@ -246,7 +246,7 @@ The last diff is empty, but no new commits have been made, and the
246 head still doesn't contain the new line:
247
248 ------------------------------------------------
249 -$ git-diff HEAD
249 +$ git diff HEAD
250 diff --git a/file.txt b/file.txt
251 index a042389..513feba 100644
252 --- a/file.txt
@@ -273,7 +273,7 @@ hello world, again
273
274 So what our "git add" did was store a new blob and then put
275 a reference to it in the index file. If we modify the file again,
276 -we'll see that the new modifications are reflected in the "git-diff"
276 +we'll see that the new modifications are reflected in the "git diff"
277 output:
278
279 ------------------------------------------------