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

Re: Bugreport: core-tutorial example outdated?

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Oct 25, 2006, 17:24 UTC
Message-ID
<20061025172408.GC26279@fieldses.org>
In-Reply-To
<453F9BA5.3020104@anagramm.de>
On Wed, Oct 25, 2006 at 07:15:17PM +0200, Clemens Koller wrote:
Show 14 quoted lines
> Hi there!
> 
> I just studied
> http://www.kernel.org/pub/software/scm/git/docs/core-tutorial.html
> to get more into the details of git. But the following commands:
> 
> $ git-cat-file -t 557db03de997c86a4a028e1ebd3a1ceb225be238
> $ git-cat-file "blob" 557db03
> 
> just bring up a
> 
> fatal: Not a valid object name 557db03de
> 
> I guess the documentation is slightly outdated and might need a fix.

Works for me. The precise names there depend on the files you create being byte-for-byte identical to the ones created by the echo commands in the tutorial. If yours aren't identical, then you should just use the names that the previous ls command instead.

Previous: Clemens Koller
Message 4 of 4 in “Bugreport: core-tutorial example outdated?”
  1. Clemens KollerOct 25, 2006
  2. Johannes SchindelinOct 25, 2006
  3. Clemens KollerOct 25, 2006
  4. J. Bruce FieldsOct 25, 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.