git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: Dennis Kaarsemaker <dennis@kaarsemaker.net>, git@vger.kernel.org
Subject: Re: Editing git changelog automatically
Date: Wed, 29 Oct 2014 23:14:05 -0700	[thread overview]
Message-ID: <CAM_iQpW-_src0W2-WkDRTMobua6UAQncvPqcxfqi6T82TdC7eA@mail.gmail.com> (raw)
In-Reply-To: <vpq38a9lxnu.fsf@anie.imag.fr>

On Mon, Oct 27, 2014 at 1:33 AM, Matthieu Moy
<Matthieu.Moy@grenoble-inp.fr> wrote:
> 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.

I am aware of that, it is my local branch, so no worry.

Thanks.

  reply	other threads:[~2014-10-30  6:14 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
2014-10-30  6:14     ` Cong Wang [this message]
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=CAM_iQpW-_src0W2-WkDRTMobua6UAQncvPqcxfqi6T82TdC7eA@mail.gmail.com \
    --to=xiyou.wangcong@gmail.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=dennis@kaarsemaker.net \
    --cc=git@vger.kernel.org \
    /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).