mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 19:15:27 +02:00
hg-serve: add page
This commit is contained in:
parent
9a7a4503d6
commit
de7755307d
1 changed files with 27 additions and 0 deletions
27
pages/common/hg-serve.md
Normal file
27
pages/common/hg-serve.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# hg serve
|
||||
|
||||
> Start a standalone Mercurial web server for browsing repositories.
|
||||
|
||||
- Start a web server instance:
|
||||
|
||||
`hg serve`
|
||||
|
||||
- Start a web server instance on the specified port:
|
||||
|
||||
`hg serve --port {{port}}`
|
||||
|
||||
- Start a web server instance on the specified listening address:
|
||||
|
||||
`hg serve --address {{address}}`
|
||||
|
||||
- Start a web server instance with a specific name:
|
||||
|
||||
`hg serve --name {{name}}`
|
||||
|
||||
- Start a web server instance using the specified theme:
|
||||
|
||||
`hg serve --style {{style}}`
|
||||
|
||||
- Start a web server instance using the specified SSL certificate:
|
||||
|
||||
`hg serve --certificate {{path/to/certificate}}`
|
Loading…
Add table
Reference in a new issue