tldr/pages/common/hg-init.md

13 lines
289 B
Markdown
Raw Normal View History

2018-01-11 09:09:12 +00:00
# hg init
> Create a new repository in the specified directory.
2019-03-22 11:39:59 +00:00
> Homepage: <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}}`