Skip to main content

Helper to launch a git web server.

# To launch a gitweb server for the current git repository:
git instaweb --start

# To listen only on localhost:
git instaweb --start --local

# To listen on a specific port:
git instaweb --start --port <1234>

# To use a specified http daemon:
git instaweb --start --httpd <lighttpd|apache2|mongoose|plackup|webrick>

# To also auto-launch a web browser:
git instaweb --start --browser

# To stop the currently running gitweb server:
git instaweb --stop

# To restart the currently running gitweb server:
git instaweb --restart