1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 18:35:44 +02:00
tldr/pages/common/hg-root.md
2025-08-12 04:50:53 +03:00

12 lines
295 B
Markdown

# hg root
> Display the root location of a Hg repository.
> More information: <https://www.mercurial-scm.org/help/commands/root>.
- Display the root location of the current repository:
`hg root`
- Display the root location of the specified repository:
`hg root --cwd {{path/to/directory}}`