Forgot to include information in the description of mercury fixation

If you commit in mercurial:

hg commit -m "an incomplete description of the commit"

What are your options for adjusting the description of the commit? Should I immediately complete a re-completion with a full description?

change

Actually, you cannot commit without change.

+3
source share
1 answer

Use

hg rollback

It completely undoes the last completion. Then you can confirm the correct message.

+5
source

Source: https://habr.com/ru/post/1749645/


All Articles