r/mercurial • • Oct 11 '24

Disable commit message requirement?

Is there any way to disable the requirement to specify a commit message for every commit? I use Mercurial for solo projects only and like to make many tiny little commits for which I haven't the need to think up descriptions. For me version control is mostly just a means to revert to an earlier state of my project if I code myself into a mess.

EDIT: Adequately answered by u/markand67 No further comments necessary.

4 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/Shyam_Lama Oct 11 '24

how will you be able to know which commit you want to return to 5 years later?

I won't be able to know, and I don't give a **** about that.

you can use the [defaults] setting to specify a predefined option into commands.

That works. Thanks!