1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
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
2022-06-27 12:23:12 +02:00
- Initialize a new repository in the current directory:
2018-01-11 09:09:12 +00:00
`hg init`
2022-06-27 12:23:12 +02:00
- Initialize a new repository in the specified directory:
2018-01-11 09:09:12 +00:00
`hg init {{path/to/directory}}`