Skip to content

Commit

Permalink
tutorial-2: typofix in examples.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed May 22, 2006
1 parent e31952d commit d5e3d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/tutorial-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ $ git diff
+++ b/file.txt
@@ -1 +1,2 @@
hello world!
+hello world, again
+hello world, again
$ git update-index file.txt
$ git diff
------------------------------------------------
Expand All @@ -230,7 +230,7 @@ index a042389..513feba 100644
+++ b/file.txt
@@ -1 +1,2 @@
hello world!
+hello world, again
+hello world, again
------------------------------------------------

So "git diff" is comparing against something other than the head.
Expand Down

0 comments on commit d5e3d60

Please sign in to comment.