hg-push: add page (#1832)

coverage
Starbeamrainbowlabs 2017-12-22 14:58:38 +00:00 committed by GitHub
commit e2d34a81c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

27
pages/common/hg-push.md Normal file
View File

@ -0,0 +1,27 @@
# hg push
> Push changes from the local repository to a specified destination.
- 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}}`