git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Fix typo in tutorial-2.txt

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 5, 2006, 19:47 UTC
Message-ID
<Pine.LNX.4.64.0606051245470.5498@g5.osdl.org>
This should be obvious enough.

I didn't actually _test_ the tutorial, but if the old command worked, something is really wrong!

Signed-off-by: Linus "Duh!" Torvalds <torvalds@osdl.org>
---
 Documentation/tutorial-2.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt
index 82c6922..894ca5e 100644
--- a/Documentation/tutorial-2.txt
+++ b/Documentation/tutorial-2.txt
@@ -136,7 +136,7 @@ The "tree" object here refers to the new
 ------------------------------------------------
 $ git ls-tree d0492b36
 100644 blob a0423896973644771497bdc03eb99d5281615b51    file.txt
-$ git cat-file commit a0423896
+$ git cat-file blob a0423896
 hello world!
 ------------------------------------------------
 
Next: Johannes Schindelin
Message 1 of 5 in “Fix typo in tutorial-2.txt”
  1. Linus TorvaldsJun 5, 2006
  2. Johannes SchindelinJun 5, 2006
  3. J. Bruce FieldsJun 5, 2006
  4. Linus TorvaldsJun 5, 2006
  5. J. Bruce FieldsJun 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.