mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-08 19:46:00 +02:00
hg-pull: add page
This commit is contained in:
parent
905b1a67e8
commit
e4e29b42bb
1 changed files with 27 additions and 0 deletions
27
pages/common/hg-pull.md
Normal file
27
pages/common/hg-pull.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# hg pull
|
||||
|
||||
> Pull changes from a specified repository to the local repository.
|
||||
|
||||
- Pull from the `default` source path:
|
||||
|
||||
`hg pull`
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue