Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

37
hg-pull Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hg pull
> Pull changes from a specified repository to the local repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#pull>.
- Pull from the "default" source path:
`hg pull`
- Pull from a specified source repository:
`hg pull {{path/to/source_repository}}`
- Update the local repository to the head of the remote:
`hg pull --update`
- Pull changes even when the remote repository is unrelated:
`hg pull --force`
- Specify a specific revision changeset to pull up to:
`hg pull --rev {{revision}}`
- Specify a specific branch to pull:
`hg pull --branch {{branch}}`
- Specify a specific bookmark to pull:
`hg pull --bookmark {{bookmark}}`