mirror of https://github.com/CrimsonTome/tldr.git
Applied changes to the hg-clone page
parent
8402262b06
commit
f0d04fc646
|
@ -6,15 +6,15 @@
|
|||
|
||||
`hg clone {{remote_repository_source}} {{destination_path}}`
|
||||
|
||||
- Clone a repository on a specific branch:
|
||||
- Clone a repository to the head of a specific branch, ignoring later commits:
|
||||
|
||||
`hg clone --branch {{branch}} {{remote_repository_source}}`
|
||||
|
||||
- Clone a repository with a clean working directory:
|
||||
- Clone a repository with only the .hg directory, without checking out files:
|
||||
|
||||
`hg clone --noupdate {{remote_repository_source}}`
|
||||
|
||||
- Clone a repository to a specific revision, tag or branch:
|
||||
- Clone a repository to a specific revision, tag or branch, keeping the entire history:
|
||||
|
||||
`hg clone --updaterev {{revision}} {{remote_repository_source}}`
|
||||
|
||||
|
|
Loading…
Reference in New Issue