mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 20:42:23 +03:00
4f851987d1
- using a single word joined by underscore - changing from backtick to double quotes
32 lines
604 B
Markdown
32 lines
604 B
Markdown
# hg pull
|
|
|
|
> Pull changes from a specified repository to the local repository.
|
|
|
|
- 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}}`
|