Files
cheatsheet-tldr/tldr/hg-init
2025-08-13 00:20:58 +00:00

18 lines
390 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hg init
> Create a new repository in the specified directory.
> More information: <https://www.mercurial-scm.org/help/commands/init>.
- Initialize a new repository in the current directory:
`hg init`
- Initialize a new repository in the specified directory:
`hg init {{path/to/directory}}`