2 .\" Title: git-instaweb
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
7 .\" Source: Git 2.46.0.164.g477ce5ccd6
10 .TH "GIT\-INSTAWEB" "1" "2024-08-14" "Git 2\&.46\&.0\&.164\&.g477ce5" "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]
41 A simple script to set up \fBgitweb\fR and a web server for browsing the local repository\&.
46 Only bind the web server to the local IP (127\&.0\&.0\&.1)\&.
51 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)
56 The module path (only needed if httpd is Apache)\&. (Default: /usr/lib/apache2/modules)
61 The port number to bind the httpd to\&. (Default: 1234)
66 The web browser that should be used to view the gitweb page\&. This will be passed to the
67 \fIgit web\-\-browse\fR
68 helper script along with the URL of the gitweb instance\&. See
69 \fBgit-web--browse\fR(1)
70 for more information about this\&. If the script fails, the URL will be printed to stdout\&.
75 Start the httpd instance and exit\&. Regenerate configuration files as necessary for spawning a new instance\&.
80 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\&.
85 Restart the httpd instance and exit\&. Regenerate configuration files as necessary for spawning a new instance\&.
89 You may specify configuration in your \&.git/config
100 modulePath = /usr/lib/apache2/modules
106 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\&.
112 Part of the \fBgit\fR(1) suite