Re: Modify/edit old commit messages
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 1, 2007, 17:17 UTC
- Message-ID
- <Pine.LNX.4.63.0702011816180.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.63.0702011326130.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
On Thu, 1 Feb 2007, Johannes Schindelin wrote:
Show 5 quoted lines
> On Thu, 1 Feb 2007, Rodolfo Giometti wrote: > > > I'm puzzled... how can I modify or edit old commit messages? :) > > Short answer: you can't.
Amendment:
You can easily, but only the latest commit, with "git commit --amend". Be warned though, the same as with rebase applies here: if you pushed this commit somewhere else, or if users fetched that branch from you (including the not-yet-edited commit), they _will_ have problems fetching and/or merging.
Ciao, Dscho