Command line to invoke hg histedit to edit last commit?

Viewed 65

Is something like hg histedit edit --rev -1 command 1-liner possible to edit the last commit? I wanted to skip choosing the edit operation in the CUI.

1 Answers

Maybe I don't understand your question, but why not hg commit --amend?

Related