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

Re: Git Books

From
NKnadim khemir <nadim@khemir.net>
Date
Dec 6, 2008, 14:38 UTC
Message-ID
<200812061538.17700.nadim@khemir.net>
In-Reply-To
<m34p1hihx4.fsf@localhost.localdomain>
On Saturday 06 December 2008 13.54.06 Jakub Narebski wrote:
Show 7 quoted lines
> "Scott Chacon" <schacon@gmail.com> writes:
> > I have been talked into helping write a real, paper-based book on Git
> > ...
>
> What I really would like to see in a paper book is _diagrams_, in the
> form of simple graphs (and not UML-like diagrams, of flow-control like
> diagrams).

I was thinking about buying the pdf below. The little I can see looks like there are a bunch of diagrams in it.

http://peepcode.com/products/git-internals-pdf
Show 5 quoted lines
> You can find them in various slides for presentations 
> (among others Junio's talks), and sometimes in blog posts[1], but
> usually only as ASCII-diagrams[2] in git documentation.  (And the
> examples in"The Git Comminity Book" I've seen so far are a bit too
> complicated).
I like doing my ASCII-diagrams with Asciio, unsurprizingly.
                                         ********
                                         * HEAD *
                                         ********
                                             |
                                             v
                           .-----.      .--------.
                           | tag |      | branch |
                           '-----'      '--------'
                              |              |
                              v              v
..........               ..........     ..........
. commit .<--------------. commit .<----. commit .
..........               ..........     ..........
     |                        |              |
     v                        v              v
 .------.                 .------.       .------.
 | tree |--------.--------| tree |       | tree |
 '------'        |        '------'       '------'
     |           v            |              |
     v       .------.         v              v
 .------.    | blob |     .------.       .------.
 | tree |--. '------'  .--| tree |       | blob |
 '------'  |           |  '------'       '------'
           '-----.-----'      |
                 |            v
                 v        .------.
             .------.     | tree |
             | blob |     '------'
             '------'         |
                              v
                          .------.
                          | blob |
                          '------'
cheers, Nadim.
Previous: Jakub NarebskiNext: Paolo Ciarrocchi
Message 6 of 9 in “Git Books”
  1. Scott ChaconDec 6, 2008
  2. Thomas AdamDec 6, 2008
  3. Christian MICHONDec 6, 2008
  4. Dilip MDec 6, 2008
  5. Jakub NarebskiDec 6, 2008
  6. nadim khemirDec 6, 2008
  7. Paolo CiarrocchiDec 6, 2008
  8. Björn SteinbrinkDec 6, 2008
  9. Deskin MillerDec 6, 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.