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

Re: auto commit merge using the default merge message

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Apr 23, 2009, 08:25 UTC
Message-ID
<49F025E7.7090404@drmicha.warpmail.net>
In-Reply-To
<81b0412b0904230057k1653d039vfc3962e6affda584@mail.gmail.com>
Alex Riesen venit, vidit, dixit 23.04.2009 09:57:
Show 10 quoted lines
> 2009/4/23 Caleb Cushing <xenoterracide@gmail.com>:
>> so I do the same merge all the time... sorta, I'm not sure rerere
>> would actually work because the file is different each time... I just
>> have to delete it each time. and I want to automate the process.
>> checkout merge rm commmit, problem is commit brings and editor up, I
>> want to commit with the 'auto inserted merge message' that is
>> generated, without seeing the editor, how do I do this?
> 
> See git commit -C <commit-with-fitting-description>,
> git commit -F <message-file> and git commit -m "message text".

I think he wants the auto generated message which may be different for each merge. Maybe something like

GIT_EDITOR=/bin/true git commit
will do the trick.
Michael
Previous: Alex RiesenNext: Junio C Hamano
Message 3 of 10 in “auto commit merge using the default merge message”
  1. Caleb CushingApr 23, 2009
  2. Alex RiesenApr 23, 2009
  3. Michael J GruberApr 23, 2009
  4. Junio C HamanoApr 23, 2009
  5. Michael J GruberApr 23, 2009
  6. Brian GernhardtApr 23, 2009
  7. Caleb CushingApr 24, 2009
  8. Jeff KingApr 24, 2009
  9. Caleb CushingApr 24, 2009
  10. Jeff KingApr 24, 2009

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.