threads / patch / 17268

patchtutorial-2: Update with the new "git commit" ouput

Subject: [PATCH] tutorial-2: Update with the new "git commit" ouput

## tl;dr

One message between Jan 20, 2009 and Jan 20, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Santi Béjar· Jan 20, 2009, 11:29 UTC · lore

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.

Signed-off-by: Santi Béjar <santi@agolina.net>
---
 Documentation/gittutorial-2.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/gittutorial-2.txt +2 −2
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(-)
 ------------------------------------------------
 
-- 
1.6.1.258.g7ff14

← back to recent threads