2 .\" Title: git-instaweb
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.38.0.15.gbbe21b64a0
10 .TH "GIT\-INSTAWEB" "1" "10/07/2022" "Git 2\&.38\&.0\&.15\&.gbbe21b6" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-instaweb \- Instantly browse your working repository in gitweb
35 \fIgit instaweb\fR [\-\-local] [\-\-httpd=<httpd>] [\-\-port=<port>]
36 [\-\-browser=<browser>]
37 \fIgit instaweb\fR [\-\-start] [\-\-stop] [\-\-restart]
42 A simple script to set up \fBgitweb\fR and a web server for browsing the local repository\&.
47 Only bind the web server to the local IP (127\&.0\&.0\&.1)\&.
52 The HTTP daemon command\-line that will be executed\&. Command\-line options may be specified here, and the configuration file will be added at the end of the command\-line\&. Currently apache2, lighttpd, mongoose, plackup, python and webrick are supported\&. (Default: lighttpd)
57 The module path (only needed if httpd is Apache)\&. (Default: /usr/lib/apache2/modules)
62 The port number to bind the httpd to\&. (Default: 1234)
67 The web browser that should be used to view the gitweb page\&. This will be passed to the
68 \fIgit web\-\-browse\fR
69 helper script along with the URL of the gitweb instance\&. See
70 \fBgit-web--browse\fR(1)
71 for more information about this\&. If the script fails, the URL will be printed to stdout\&.
76 Start the httpd instance and exit\&. Regenerate configuration files as necessary for spawning a new instance\&.
81 Stop the httpd instance and exit\&. This does not generate any of the configuration files for spawning a new instance, nor does it close the browser\&.
86 Restart the httpd instance and exit\&. Regenerate configuration files as necessary for spawning a new instance\&.
90 You may specify configuration in your \&.git/config
101 modulePath = /usr/lib/apache2/modules
108 If the configuration variable \fBinstaweb\&.browser\fR is not set, \fBweb\&.browser\fR will be used instead if it is defined\&. See \fBgit-web--browse\fR(1) for more information about this\&.
114 Part of the \fBgit\fR(1) suite