snippetbashTip
hg push — Push changes from the local repository to a specified destination. More information: <https://www.me
Viewed 0 times
thecommandlocalpushfromhg pushclichanges
Problem
How to use the
hg push command: Push changes from the local repository to a specified destination. More information: <https://www.mercurial-scm.org/help/commands/push>.Solution
hg push — Push changes from the local repository to a specified destination. More information: <https://www.mercurial-scm.org/help/commands/push>.Push changes to the "default" remote path:
hg pushPush 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-branchSpecify 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}}Code Snippets
Push changes to the "default" remote path
hg pushPush 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-branchSpecify a specific revision changeset to push
hg push {{[-r|--rev]}} {{revision}}Specify a specific branch to push
hg push {{[-b|--branch]}} {{branch}}Context
tldr-pages: common/hg push
Revisions (0)
No revisions yet.