System Grab Bag

View all TLDR pages from common (or from all pages)

hg push

Push changes from the local repository to a specified destination. More information: https://www.mercurial-scm.org/doc/hg.1.html#push.
  • Push changes to the "default" remote path:
    hg push
  • 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 --rev {{revision}}
  • Specify a specific branch to push:
    hg push --branch {{branch}}
  • Specify a specific bookmark to push:
    hg push --bookmark {{bookmark}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.