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

Re: How to edit commit messages?

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 12, 2008, 12:49 UTC
Message-ID
<vpqd4kepfde.fsf@bauges.imag.fr>
In-Reply-To
<g7s088$o1p$1@ger.gmane.org>
dr.chiarello@gmail.com writes:
> Hi all,
>   what are the best solution to:
> 1) interactively edit commit's messages (some or all)
  git rebase -i
can help.
> 2) batch edit commit's messages (for example using sed)
  git filter-branch --msg-filter sed 's/foo/bar/'
should do it.
-- 
Matthieu
Previous: Miklos Vajna
Message 4 of 4 in “How to edit commit messages?”
  1. dr.chiarello@gmail.comAug 12, 2008
  2. Andreas EricssonAug 12, 2008
  3. Miklos VajnaAug 12, 2008
  4. Matthieu MoyAug 12, 2008

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.