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

Re: Git Documentation

From
Karl Hasselström <kha@treskal.com>
Date
Jul 24, 2008, 00:31 UTC
Message-ID
<20080724003105.GA16873@diana.vm.bytemark.co.uk>
In-Reply-To
<EDFF27AB-9B74-4868-A0BF-61AC8ED75037@simplicidade.org>
On 2008-07-22 11:15:40 +0100, Pedro Melo wrote:
> I also point them to Tommi Virtanen "Git for Computer
> Scientists":http://eagain.net/articles/git-for-computer-scientists/.
> It was that article that made it all "click" for me regarding git.
Me too.

I've found that starting off by explaining how git represents history with blobs, trees, and commits (no need to mention tags or other objects just yet), and how branches and merging just fall out naturally from the commit DAG, is a good way to get people to appreciate just how simple git's data model is. After that five-minute introduction, they have a reasonable mental model of what the git commands operate on -- then they just need to fill in the details, like what commands there are and how they work.

(I've never taught git to anyone who didn't already know what a DAG or a cryptographic hash is -- presumably, that would make it take more than five minutes.)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Pedro Melo
Message 10 of 10 in “Git Documentation”
  1. Scott ChaconJul 22, 2008
  2. Johan HerlandJul 22, 2008
  3. david@lang.hmJul 22, 2008
  4. Johan HerlandJul 22, 2008
  5. Johannes SchindelinJul 22, 2008
  6. Scott ChaconJul 22, 2008
  7. Jay SoffianJul 22, 2008
  8. Johannes SchindelinJul 22, 2008
  9. Pedro MeloJul 22, 2008
  10. Karl HasselströmJul 24, 2008

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.