Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command line to invoke hg histedit to edit last commit?

Tags:

mercurial

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.

like image 803
geopocalypseprod Avatar asked Dec 06 '25 07:12

geopocalypseprod


1 Answers

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

like image 74
aflp91 Avatar answered Dec 09 '25 15:12

aflp91



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!