mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 21:53:38 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/hg-pull
10
tldr/hg-pull
@@ -18,20 +18,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Update the local repository to the head of the remote:
|
||||
|
||||
`hg pull --update`
|
||||
`hg pull {{[-u|--update]}}`
|
||||
|
||||
- Pull changes even when the remote repository is unrelated:
|
||||
|
||||
`hg pull --force`
|
||||
`hg pull {{[-f|--force]}}`
|
||||
|
||||
- Specify a specific revision changeset to pull up to:
|
||||
|
||||
`hg pull --rev {{revision}}`
|
||||
`hg pull {{[-r|--rev]}} {{revision}}`
|
||||
|
||||
- Specify a specific branch to pull:
|
||||
|
||||
`hg pull --branch {{branch}}`
|
||||
`hg pull {{[-b|--branch]}} {{branch}}`
|
||||
|
||||
- Specify a specific bookmark to pull:
|
||||
|
||||
`hg pull --bookmark {{bookmark}}`
|
||||
`hg pull {{[-B|--bookmark]}} {{bookmark}}`
|
||||
|
||||
Reference in New Issue
Block a user