From: Matthias Urlichs Date: Wed, 12 Oct 2005 01:27:26 GMT Subject: Re: [PATCH] Adapt tutorial to cygwin and add test case Message-ID: In-Reply-To: <7vu0fnsu6f.fsf@assigned-by-dhcp.cox.net> Hi, Junio C Hamano wrote: > The Kosher way would be > > tree=$(git-write-tree) > commit=$(echo 'Initial commit' | git-commit-tree $tree) > git-update-ref HEAD $(commit) > > but looks quite intimidating as a tutorial material. ... which is probably why there's a "git commit" command these days. Those three commands may be The Works, but they also expose exactly what git does behind the scenes, and thus explains reasonably well what you'd need to think about if you want to do something that's not just a simple commit. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - The Killer Ducks are coming!!!