LinuxCommandLibrary

hg-pull

hg-pull

TLDR

Pull from the "default" source path

$ hg pull
copy


Pull from a specified source repository
$ hg pull [path/to/source_repository]
copy


Update the local repository to the head of the remote
$ hg pull --update
copy


Pull changes even when the remote repository is unrelated
$ hg pull --force
copy


Specify a specific revision changeset to pull up to
$ hg pull --rev [revision]
copy


Specify a specific branch to pull
$ hg pull --branch [branch]
copy


Specify a specific bookmark to pull
$ hg pull --bookmark [bookmark]
copy

Copied to clipboard