12 lines
239 B
Markdown
12 lines
239 B
Markdown
# hg root
|
|
|
|
> 显示 Hg 仓库的根位置。
|
|
> 更多信息:<https://www.mercurial-scm.org/doc/hg.1.html#root>。
|
|
|
|
- 显示当前仓库的根位置:
|
|
|
|
`hg root`
|
|
|
|
- 显示指定仓库的根位置:
|
|
|
|
`hg root --cwd {{path/to/directory}}` |