tldr/pages/common/hg-init.md

13 lines
297 B
Markdown
Raw Normal View History

2018-01-11 09:09:12 +00:00
# hg init
> Create a new repository in the specified directory.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#init>.
2018-01-11 09:09:12 +00:00
- Initialise a new repository in the current directory:
`hg init`
- Initialise a new repository in the specified directory:
`hg init {{path/to/directory}}`