path: root/Documentation/gittutorial-2.txt
diff options
authorSanti Béjar <>2009-01-20 11:29:04 (GMT)
committerJunio C Hamano <>2009-01-21 08:15:34 (GMT)
commit27a58359c37142e61b1899d195ea096af7fbecf0 (patch)
tree9c6f9f620cef3b1fdee192de729863aed3404626 /Documentation/gittutorial-2.txt
parenta1a587ef7200ef2b091799399ae43abf6572a686 (diff)
tutorial-2: Update with the new "git commit" ouput
An earlier commit c5ee71f (commit: more compact summary and without extra quotes, 2009-01-19) changed the "git commit" output when creating a commit. This patch updates the example session in the tutorial to match the new output. Signed-off-by: Santi Béjar <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/gittutorial-2.txt')
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/gittutorial-2.txt b/Documentation/gittutorial-2.txt
index a057b50..dc8fc3a 100644
--- a/Documentation/gittutorial-2.txt
+++ b/Documentation/gittutorial-2.txt
@@ -32,12 +32,12 @@ Initialized empty Git repository in .git/
$ echo 'hello world' > file.txt
$ git add .
$ git commit -a -m "initial commit"
-[master (root-commit)] created 54196cc: "initial commit"
+[master (root-commit) 54196cc] initial commit
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file.txt
$ echo 'hello world!' >file.txt
$ git commit -a -m "add emphasis"
-[master] created c4d59f3: "add emphasis"
+[master c4d59f3] add emphasis
1 files changed, 1 insertions(+), 1 deletions(-)