1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:02:09 +02:00
tldr/pages/common/hg-init.md

12 lines
297 B
Markdown

# 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}}`