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

git commit-tree man page

From
ABAngelo Borsotti <angelo.borsotti@gmail.com>
Date
Oct 24, 2012, 12:45 UTC
Message-ID
<CAB9Jk9BMndLj_nHW=EQbSS96Gp5+5NA3Vyb0r-EfVd+OPyQhnA@mail.gmail.com>
Hello,
the man page of git commit-tree SYNOPSIS is:
    git commit-tree <tree> [(-p <parent>)...] < changelog
    git commit-tree [(-p <parent>)...] [(-m <message>)...] [(-F
<file>)...] <tree>

The second form is incorrect: the <tree> must be specified before the options. E.g.

$ git commit-tree -m B 88f7dbd47 fatal: Not a valid object name -m

$ git commit-tree 88f7dbd47 -m B 2f7619ed932787a128a84c4809d7b72ef38257a5

-Angelo Borsotti
Next: Andreas Schwab
Message 1 of 2 in “git commit-tree man page”
  1. Angelo BorsottiOct 24, 2012
  2. Andreas SchwabOct 24, 2012

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.