mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
388 B
Plaintext
18 lines
388 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|