Skip to content

Commit

Permalink
git-instaweb: add page (#4017)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl committed May 21, 2020
1 parent 0a00713 commit 6683b2c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pages/common/git-instaweb.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 6683b2c

Please sign in to comment.