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

cherry-pick --message?

From
Andreas Krey <a.krey@gmx.de>
Date
Mar 21, 2017, 16:05 UTC
Message-ID
<20170321160520.GA15550@inner.h.apk.li>
Hi all,

I have an slightly unusual usecase for cherry-pick: I want to modify the commit message that is used in the process, e.g. do an d/^PROP:/ on it, but unfortunately -m does something else here.

And there is no --message here for good reason, as cherry-pick can pick multiple commits and so on. Bad for me, though.

So, am I down to the combo of format-patch and apply, or is there an easier way? (I'd also like to end up in the same state as with cherry-pick should there be conflicts.)

- Andreas
-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Next: Jeff King
Message 1 of 6 in “cherry-pick --message?”
  1. Andreas KreyMar 21, 2017
  2. Jeff KingMar 21, 2017
  3. Andreas KreyMar 21, 2017
  4. Jeff KingMar 21, 2017
  5. Andreas KreyMar 28, 2017
  6. Jonathan NiederMar 28, 2017

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.