Options (4)
-l, --localbooleanListen only on localhost
Example:
git instaweb --start {{[-l|--local]}}-p, --portbooleanListen on a specific port
Example:
git instaweb --start {{[-p|--port]}} {{1234}}-d, --httpdbooleanUse a specified HTTP daemon
Example:
git instaweb --start {{[-d|--httpd]}} {{lighttpd|apache2|mongoose|plackup|webrick}}-b, --browserbooleanAlso auto-launch a web browser
Example:
git instaweb --start {{[-b|--browser]}}Examples (7)
Launch a GitWeb server for the current Git repository
git instaweb --startListen only on localhost
git instaweb --start [-l|--local]Listen on a specific port
git instaweb --start [-p|--port] 1234Use a specified HTTP daemon
git instaweb --start [-d|--httpd] lighttpd|apache2|mongoose|plackup|webrickAlso auto-launch a web browser
git instaweb --start [-b|--browser]Stop the currently running GitWeb server
git instaweb --stopRestart the currently running GitWeb server
git instaweb --restartmade by @shridhargupta | data from tldr-pages