I accidentally committed a changeset without a description and wanted to fix it. As I was pushing enter I realized that I didn’t want to commit yet. I have not pushed anywhere – an important requirement for this kind of revert.
I basically want to do a bk fix -c
(if I recall my bk correctly).
Since git revert
pollutes the history, it is not the right thing to do here since the bad changeset was not pushed.
But it would be the right thing to do had I pushed my change.