mirror of https://github.com/CrimsonTome/tldr.git
13 lines
295 B
Markdown
13 lines
295 B
Markdown
# hg root
|
|
|
|
> Display the root location of a Hg repository.
|
|
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#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}}`
|