tldr/pages/common/hg-root.md

13 lines
295 B
Markdown
Raw Normal View History

2019-03-26 08:51:54 +00:00
# hg root
> Display the root location of a Hg repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#root>.
2019-03-26 08:51:54 +00:00
- Display the root location of the current repository:
2019-03-26 08:51:54 +00:00
`hg root`
- Display the root location of the specified repository:
2019-03-26 08:51:54 +00:00
`hg root --cwd {{path/to/directory}}`