CmdID

CmdID / Commands

hg-clone

Create a copy of an existing repository in a new directory. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Clone a repository to a specified directory

hg clone remote_repository_source path/to/destinationIdentify

Clone a repository to the head of a specific branch, ignoring later commits

hg clone --branch branch remote_repository_sourceIdentify

Clone a repository with only the .hg directory, without checking out files

hg clone --noupdate remote_repository_sourceIdentify

Clone a repository to a specific revision, tag, or branch, keeping the entire history

hg clone --updaterev revision remote_repository_sourceIdentify

Clone a repository up to a specific revision without any newer history

hg clone --rev revision remote_repository_sourceIdentify