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

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Watkins
Solved:
2007-12-04
Last query:
2007-12-04
Last reply:
2007-12-04

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

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.