commands.sh

hg push

all

Push changes from the local repository to a specified destination.

More info →

Options (3)

-r, --revboolean

Specify a specific revision changeset to push

Example: hg push {{[-r|--rev]}} {{revision}}
-b, --branchboolean

Specify a specific branch to push

Example: hg push {{[-b|--branch]}} {{branch}}
-B, --bookmarkboolean

Specify a specific bookmark to push

Example: hg push {{[-B|--bookmark]}} {{bookmark}}

Examples (6)

Push changes to the "default" remote path

Push changes to a specified remote repository

hg push path/to/destination_repository

Push a new branch if it does not exist (disabled by default)

hg push --new-branch

Specify a specific revision changeset to push

hg push [-r|--rev] revision

Specify a specific branch to push

hg push [-b|--branch] branch

Specify a specific bookmark to push

hg push [-B|--bookmark] bookmark
made by @shridhargupta | data from tldr-pages