How do I change commit comment?

Asked by Reg Charney on 2007-12-04

I entered a commit message which was incorrect. After the commit is completed, how do I change the commit message?

Question information

English Edit question
Bazaar Edit question
No assignee Edit question
Solved by:
Dan Watkins
Last query:
Last reply:
Best Dan Watkins (oddbloke) said : #1

Hi Reg,
You should look at 'bzr uncommit'. Without any arguments, this will remove your last commit from the branch (while leaving your working tree untouched). You can then run ' bzr commit' again with the correct message.


Reg Charney (charney) said : #2

I found in another thread that I should do an uncommit as soon as possible and then do a commit with the correct message.

I was confusing the commit message with the log of the commit. My apologies.

Reg Charney (charney) said : #3

Thanks Daniel Watkins, that solved my question.