Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Yet another Git tutorial

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:32

Dmitry Potapov [off-list ref] writes:
On Mon, Apr 28, 2008 at 02:39:46AM -0400, John Wiegley wrote:
quoted
I published another tutorial on Git today, this one describing the  
system from a "bottom up" perspective.  I know it's been written about  
this way before, but I was aiming at a bit more thoroughness, and a  
paced introduction to the basics.

There's a link to the PDF is in the following blog post:

  http://www.newartisans.com/blog_files/git.from.bottom.up.php
In addition to what was mentioned before me:

On page 6, instead of `git show --pretty=format:%T HEAD | head -1`, it
is better to use `git log -1 --pretty=format:'%T' HEAD`. In general,
`git show <commit-object>` is `git log -1 -p <commit-object>`, and
you do not need diff here.
I may be misunderstanding what the discussion is about as I was not
following the thread, but is this a contest to find the most expensive way
to spell "git rev-parse HEAD^{tree}"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help