hg clone
Create a copy of an existing repository in a new directory. More information: https://www.mercurial-scm.org/help/commands/clone.
- Clone a repository to a specified directory:
hg clone
- Clone a repository to the head of a specific branch, ignoring later commits:
hg clone
- Clone a repository with only the
.hgdirectory, without checking out files:
hg clone
- Clone a repository to a specific revision, tag, or branch, keeping the entire history:
hg clone
- Clone a repository up to a specific revision without any newer history:
hg clone
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
