1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

git-instaweb: add page (#4017)

This commit is contained in:
Starbeamrainbowlabs 2020-05-10 13:41:53 +01:00 committed by GitHub
parent 73e6c5127b
commit ac75e5f12c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,32 @@
# 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 --local`
- Listen on a specific port:
`git instaweb --start --port {{1234}}`
- Use a specified http daemon:
`git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}`
- Also auto-launch a web browser:
`git instaweb --start --browser`
- Stop the currently running gitweb server:
`git instaweb --stop`
- Restart the currently running gitweb server:
`git instaweb --restart`