mirror of https://github.com/CrimsonTome/tldr.git
13 lines
290 B
Markdown
13 lines
290 B
Markdown
|
# hg root
|
||
|
|
||
|
> Display the root location for a Hg repository.
|
||
|
> Homepage: <https://www.mercurial-scm.org/doc/hg.1.html#root>.
|
||
|
|
||
|
- Display the root location for the current repository:
|
||
|
|
||
|
`hg root`
|
||
|
|
||
|
- Display the root location for the specified repository:
|
||
|
|
||
|
`hg root --cwd {{path/to/directory}}`
|