From: Brian Gerst <bgerst@didntduck.org>
To: Kevin Leung <hysoka@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Edit log message after commit
Date: Thu, 29 Sep 2005 00:58:01 -0400 [thread overview]
Message-ID: <433B7459.3040307@didntduck.org> (raw)
In-Reply-To: <dhfjcu$36f$1@sea.gmane.org>
Kevin Leung wrote:
> Hi,
>
> Is there any method to edit the log message after committed? I couldn't
> find any information in Documentation and in git mailing list.
The commit must be at the head, or else you can't change it without
breaking the chain of following commits. If you are using Cogito, use
cg-admin-uncommit and then re-commit it. Otherwise, create a new commit
object for the same tree and parent(s) as the old commit, with the new
message. The new commit object is your new head.
--
Brian Gerst
next prev parent reply other threads:[~2005-09-29 4:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-29 2:28 Edit log message after commit Kevin Leung
2005-09-29 4:15 ` Junio C Hamano
2005-09-29 4:17 ` Tony Luck
2005-09-29 4:58 ` Brian Gerst [this message]
2005-09-29 7:45 ` Kevin Leung
2005-09-29 16:05 ` Yasushi SHOJI
2005-09-30 8:24 ` Junio C Hamano
2005-09-29 8:35 ` Catalin Marinas
2005-09-30 7:58 ` Kevin Leung
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=433B7459.3040307@didntduck.org \
--to=bgerst@didntduck.org \
--cc=git@vger.kernel.org \
--cc=hysoka@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).