Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can "secret" be set to the default phase of mercurial?

I would like to create "secret" commit instead of "draft" commit by default in a mercurial project. Is there any way to configure mercurial so that the default phase is "secret" instead of "draft" ?

like image 248
Vinz Avatar asked Dec 22 '25 17:12

Vinz


1 Answers

From hg help phases

To make yours commits secret by default, put this in your configuration
file:

  [phases]
  new-commit = secret
like image 142
somnium Avatar answered Dec 24 '25 11:12

somnium



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!