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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.