From e4e29b42bb88965e89e061589cd9c3fc598ae64a Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 19 Dec 2017 16:22:33 +0000 Subject: [PATCH] hg-pull: add page --- pages/common/hg-pull.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/hg-pull.md diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md new file mode 100644 index 000000000..1cd5b13e8 --- /dev/null +++ b/pages/common/hg-pull.md @@ -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}}`