Skip to content

Commit 27a5835

Browse files
Santi Béjargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a1a587e commit 27a5835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/gittutorial-2.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Initialized empty Git repository in .git/
3232
$ echo 'hello world' > file.txt
3333
$ git add .
3434
$ git commit -a -m "initial commit"
35-
[master (root-commit)] created 54196cc: "initial commit"
35+
[master (root-commit) 54196cc] initial commit
3636
1 files changed, 1 insertions(+), 0 deletions(-)
3737
create mode 100644 file.txt
3838
$ echo 'hello world!' >file.txt
3939
$ git commit -a -m "add emphasis"
40-
[master] created c4d59f3: "add emphasis"
40+
[master c4d59f3] add emphasis
4141
1 files changed, 1 insertions(+), 1 deletions(-)
4242
------------------------------------------------
4343

0 commit comments

Comments
 (0)