hg-pull: add page (#1825)

coverage
Starbeamrainbowlabs 2017-12-20 12:08:41 +00:00 committed by GitHub
commit 1fab9e86f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

31
pages/common/hg-pull.md Normal file
View File

@ -0,0 +1,31 @@
# 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}}`