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

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!!!
Previous: Junio C HamanoNext: Johannes Schindelin
Message 3 of 5 in “Adapt tutorial to cygwin and add test case”
  1. Adapt tutorial to cygwin and add test caseJohannes Schindelin, Oct 11, 2005
  2. Junio C HamanoOct 11, 2005
  3. Matthias UrlichsOct 12, 2005
  4. Johannes SchindelinOct 12, 2005
  5. Johannes SchindelinOct 12, 2005

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.