How do I change commit comment?

Asked by Reg Charney

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

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Watkins
Solved:
Last query:
Last reply:
Revision history for this message
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.

Dan

Revision history for this 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.

Revision history for this message
Reg Charney (charney) said :
#3

Thanks Daniel Watkins, that solved my question.