mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 07:43:21 +00:00
34 lines
804 B
Plaintext
34 lines
804 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# hg serve
|
|
|
|
> Start a standalone Mercurial web server for browsing repositories.
|
|
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#serve>.
|
|
|
|
- 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 identifier:
|
|
|
|
`hg serve --name {{name}}`
|
|
|
|
- Start a web server instance using the specified theme (see the templates directory):
|
|
|
|
`hg serve --style {{style}}`
|
|
|
|
- Start a web server instance using the specified SSL certificate bundle:
|
|
|
|
`hg serve --certificate {{path/to/certificate}}`
|