Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-28 00:20:19 +00:00
parent 5bf37ece1a
commit 2c0f4bfdb2
88 changed files with 330 additions and 253 deletions

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Clone a repository to the head of a specific branch, ignoring later commits:
`hg clone --branch {{branch}} {{remote_repository_source}}`
`hg clone {{[-b|--branch]}} {{branch}} {{remote_repository_source}}`
- Clone a repository with only the `.hg` directory, without checking out files:
`hg clone --noupdate {{remote_repository_source}}`
`hg clone {{[-U|--noupdate]}} {{remote_repository_source}}`
- Clone a repository to a specific revision, tag or branch, keeping the entire history:
`hg clone --updaterev {{revision}} {{remote_repository_source}}`
`hg clone {{[-u|--updaterev]}} {{revision}} {{remote_repository_source}}`
- Clone a repository up to a specific revision without any newer history:
`hg clone --rev {{revision}} {{remote_repository_source}}`
`hg clone {{[-r|--rev]}} {{revision}} {{remote_repository_source}}`