Link Search Menu Expand Document

hg init

Create a new repository in the specified directory. More information: https://www.mercurial-scm.org/doc/hg.1.html#init.

  • Initialise a new repository in the current directory:

hg init

  • Initialise a new repository in the specified directory:

hg init {{path/to/directory}}