From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Dennis Kaarsemaker <dennis@kaarsemaker.net>
Cc: Cong Wang <xiyou.wangcong@gmail.com>, git@vger.kernel.org
Subject: Re: Editing git changelog automatically
Date: Mon, 27 Oct 2014 09:33:25 +0100 [thread overview]
Message-ID: <vpq38a9lxnu.fsf@anie.imag.fr> (raw)
In-Reply-To: <1414389944.7883.2.camel@spirit> (Dennis Kaarsemaker's message of "Mon, 27 Oct 2014 07:05:44 +0100")
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> On zo, 2014-10-26 at 22:27 -0700, Cong Wang wrote:
>>
>> My question is how to edit dozens of git commit changelogs
>> automatically?
>
> You can use git filter-branch in --msg-filter mode.
Note that in any case, you'll rewrite the history hence change commit
identifiers. If the history is already published, it's probably better
to live with the typo than to try to fix it now.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2014-10-27 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 5:27 Editing git changelog automatically Cong Wang
2014-10-27 6:05 ` Dennis Kaarsemaker
2014-10-27 8:33 ` Matthieu Moy [this message]
2014-10-30 6:14 ` Cong Wang
2014-10-30 6:13 ` Cong Wang
2014-10-27 18:58 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpq38a9lxnu.fsf@anie.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=dennis@kaarsemaker.net \
--cc=git@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).