1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-09 08:46:00 +02:00
tldr/pages/common/git-instaweb.md
Managor 0e8893e1ba
git*: refresh pages (#16372)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-05 09:12:13 +03:00

32 lines
683 B
Markdown

# git instaweb
> Helper to launch a GitWeb server.
> More information: <https://git-scm.com/docs/git-instaweb>.
- Launch a GitWeb server for the current Git repository:
`git instaweb --start`
- Listen only on localhost:
`git instaweb --start {{[-l|--local]}}`
- Listen on a specific port:
`git instaweb --start {{[-p|--port]}} {{1234}}`
- Use a specified HTTP daemon:
`git instaweb --start {{[-d|--httpd]}} {{lighttpd|apache2|mongoose|plackup|webrick}}`
- Also auto-launch a web browser:
`git instaweb --start {{[-b|--browser]}}`
- Stop the currently running GitWeb server:
`git instaweb --stop`
- Restart the currently running GitWeb server:
`git instaweb --restart`