mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:22:09 +02:00
hg-push: add page
This commit is contained in:
parent
ec05de69b7
commit
d143db80c1
1 changed files with 27 additions and 0 deletions
27
pages/common/hg-push.md
Normal file
27
pages/common/hg-push.md
Normal 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}}`
|
||||
|
||||
- Allow pushing a new branch (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}}`
|
Loading…
Add table
Reference in a new issue