LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hg-pull

fetches changesets from a remote repository into the local repository

TLDR

Pull from default remote
$ hg pull
copy
Pull and update working directory
$ hg pull -u
copy
Pull from specific source
$ hg pull [https://example.com/repo]
copy
Pull specific revision
$ hg pull -r [revision]
copy
Pull specific branch
$ hg pull -b [branch]
copy
Pull from source and force even if unrelated
$ hg pull -f [https://example.com/repo]
copy

SYNOPSIS

hg pull [options] [source]

DESCRIPTION

hg pull fetches changesets from a remote repository into the local repository. Unlike Git's pull, it does not automatically update the working directory. Use -u to update, or run hg update separately after pulling. The source defaults to the repository from which this repository was cloned.

PARAMETERS

-u, --update

Update to new branch head after pulling.
-r, --rev rev
Pull specific revision.
-b, --branch branch
Pull specific branch.
-B, --bookmark bookmark
Pull a specific bookmark from the remote repository.
-f, --force
Pull even from unrelated repository.
--insecure
Do not verify server certificate (for HTTPS connections).

SEE ALSO

hg(1), hg-update(1), hg-push(1), hg-clone(1), hg-log(1)

Copied to clipboard
Kai