可以将“秘密”设置为默认值吗?

Vin*_*inz 3 mercurial mercurial-phases

我想在Mercurial项目中默认创建“秘密”提交而不是“草稿”提交。有什么方法可以配置Mercurial,以便默认阶段是“秘密”而不是“草稿”?

som*_*ium 6

hg help phases

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

  [phases]
  new-commit = secret
Run Code Online (Sandbox Code Playgroud)

  • hg help phase与hg help phases不同-hg help phase用于手动操作阶段的信息hg help phases解释了什么阶段是 (3认同)