tldr/pages/common/hg-init.md
2019-03-24 00:27:35 +01:00

289 B

hg init

Create a new repository in the specified directory. Homepage: 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}}