What is better way to remove commit from history?

Alexander Belchenko bialix at ukr.net
Tue Mar 18 11:01:21 GMT 2008


I have some branch where I commit wrong thing. After that I have 5 another commits.
And only then I realize that committed file is completely wrong therefore
should not be used in real work.

I'd like to cleanup history of my branch (rewrite it) to remove that wrong commit.
What is the best way to do this? rebase? loom?

Any suggestions?




More information about the bazaar mailing list