Re: [PATCH] Adapt tutorial to cygwin and add test case
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Oct 12, 2005, 01:27 UTC
- Message-ID
- <pan.2005.10.12.01.27.25.688169@smurf.noris.de>
- In-Reply-To
- <7vu0fnsu6f.fsf@assigned-by-dhcp.cox.net>
Hi, Junio C Hamano wrote:
Show 7 quoted lines
> 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!!!