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

Re: as promised, docs: git for the confused

From
Linus Torvalds <torvalds@osdl.org>
Date
Dec 12, 2005, 18:18 UTC
Message-ID
<Pine.LNX.4.64.0512121010550.15597@g5.osdl.org>
In-Reply-To
<20051212195319.11d41269.tihirvon@gmail.com>
On Mon, 12 Dec 2005, Timo Hirvonen wrote:
Show 5 quoted lines
> 
> Me too.  BTW, new users very likely read tutorial.txt first.  But it is
> way too low level (git-cat-file, git-write-tree...).  Maybe those low
> level commands should be described in technical/ instead?  The tutorial
> would be logical place for examples.

I'd almost suggest skipping the technical notes in the current tutorial, and just gearing it directly more towards a regular user.

When I started writing it, I cared more about people understanding how git works internally. I think that was useful too, but I suspect that it's less useful than just knowing how to use git, and there _are_ enough people out there that understand how git works under the hood that it probably would be much better to concentrate on getting people _first_ used to using git, and then having a separate tutorial for "what goes under the hood".

So instead of teaching people about "git-read-tree --reset HEAD" etc that you'd never know on your own, just teach about "git reset". And not bothering with the "git-write-tree + git-commit-tree + git-update-ref" approach, just make people use "git commit" from the very beginning.

Anybody willing to just strip out the raw internals talk?
Then we could add a small section about importing from a tar-file. 
			Linus
Previous: Timo HirvonenNext: Randal L. Schwartz
Message 10 of 28 in “Re: as promised, docs: git for the confused”
  1. linux@horizon.comDec 9, 2005
  2. Petr BaudisDec 9, 2005
  3. linux@horizon.comDec 9, 2005
  4. Randy.DunlapDec 9, 2005
  5. Junio C HamanoDec 9, 2005
  6. linux@horizon.comDec 9, 2005
  7. Junio C HamanoDec 9, 2005
  8. Linus TorvaldsDec 12, 2005
  9. Timo HirvonenDec 12, 2005
  10. Linus TorvaldsDec 12, 2005
  11. Randal L. SchwartzDec 12, 2005
  12. Joshua N PritikinDec 13, 2005
  13. Randal L. SchwartzDec 13, 2005
  14. Junio C HamanoDec 13, 2005
  15. Linus TorvaldsDec 13, 2005
  16. H. Peter AnvinDec 13, 2005
  17. Junio C HamanoDec 13, 2005
  18. Randal L. SchwartzDec 13, 2005
  19. Tip of the day: archaeologyJunio C Hamano, Dec 13, 2005
  20. Linus TorvaldsDec 13, 2005
  21. Junio C HamanoDec 13, 2005
  22. Junio C HamanoDec 12, 2005
  23. Everyday: some examples.Junio C Hamano, Dec 13, 2005
  24. Petr BaudisDec 9, 2005
  25. linux@horizon.comDec 9, 2005
  26. Junio C HamanoDec 10, 2005
  27. Junio C HamanoDec 10, 2005
  28. linux@horizon.comDec 10, 2005

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.