Forrest logo
back to context overview

hg-clone

List of commands for hg-clone:

  • hg-clone:tldr:13631 hg-clone: Clone a repository with only the `.hg` directory, without checking out files.
    $ hg clone --noupdate ${remote_repository_source}
    try on your machine
    explain this command
  • hg-clone:tldr:40eed hg-clone: Clone a repository to a specified directory.
    $ hg clone ${remote_repository_source} ${destination_path}
    try on your machine
    explain this command
  • hg-clone:tldr:93cde hg-clone: Clone a repository to a specific revision, tag or branch, keeping the entire history.
    $ hg clone --updaterev ${revision} ${remote_repository_source}
    try on your machine
    explain this command
  • hg-clone:tldr:a1adc hg-clone: Clone a repository to the head of a specific branch, ignoring later commits.
    $ hg clone --branch ${branch} ${remote_repository_source}
    try on your machine
    explain this command
  • hg-clone:tldr:a273d hg-clone: Clone a repository up to a specific revision without any newer history.
    $ hg clone --rev ${revision} ${remote_repository_source}
    try on your machine
    explain this command
back to context overview