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

Re: Pro Git Book

From
David Aguilar <davvid@gmail.com>
Date
Jul 28, 2009, 08:56 UTC
Message-ID
<20090728085600.GA33224@gmail.com>
In-Reply-To
<d411cc4a0907271056x458d7b15lc1b2868a46884175@mail.gmail.com>
On Mon, Jul 27, 2009 at 10:56:57AM -0700, Scott Chacon wrote:
Show 20 quoted lines
> Hey all,
> 
> Just a heads up - I've been working on a book on Git being published
> by Apress called "Pro Git", which is being licensed under a CC 3.0
> license and as I've just finished some of the final reviews, I've put
> the entire content of the book online at:
> 
> http://progit.org
> 
> It should be shipping at the end of August, I think, but I just wanted
> to let people know that there is another resource out there to help
> learn Git.  This one was actually technically edited by Shawn, too, so
> hopefully not too many serious errors of mine got through.
> 
> I've added a link to it on http://git-scm.com under the Books section,
> in case you want to point any newbies there.  Hope this helps take
> some teaching load off some of your plates.
> 
> Thanks,
> Scott

Good stuff, Thanks Scott.

In http://progit.org/book/ch7-1.html we go through a lot of machinations to setup an external diff viewer.

That might be a good time to introduce git-difftool, even if only to mention that the setup is much simpler when difftool is used. It allows you to do without the wrapper scripts.

$ p4=/Applications/p4.merge.app/Contents/MacOS/p4merge $ git config --global difftool.p4.cmd "$p4 \"\$LOCAL\" \"\$REMOTE\"" $ git difftool -t p4

$ git config --global diff.tool p4 $ git difftool

It's even easier if you use one of the several built-in tools, e.g. opendiff, kompare, meld, etc., since it requires no configuration.

Mentioning that it's a fairly new feature is probably important, too. Hmm. I guess I should've send a patch ;-)

Have fun,
-- 
		David
Previous: Tim VisherNext: Scott Chacon
Message 3 of 8 in “Pro Git Book”
  1. Scott ChaconJul 27, 2009
  2. Tim VisherJul 27, 2009
  3. David AguilarJul 28, 2009
  4. Scott ChaconJul 28, 2009
  5. Jakub NarebskiJul 29, 2009
  6. Scott ChaconJul 29, 2009
  7. Sverre RabbelierJul 29, 2009
  8. Luciano RochaJul 30, 2009

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.