LinuxCommandLibrary

hg-push

hg-push

TLDR

Push changes to the "default" remote path

$ hg push
copy


Push changes to a specified remote repository
$ hg push [path/to/destination_repository]
copy


Push a new branch if it does not exist (disabled by default)
$ hg push --new-branch
copy


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


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


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

Copied to clipboard