1git-instaweb(1)
2===============
34
NAME
5----
6git-instaweb - Instantly browse your working repository in gitweb
78
SYNOPSIS
9--------
10[verse]
11'git-instaweb' [--local] [--httpd=<httpd>] [--port=<port>]
12[--browser=<browser>]
13'git-instaweb' [--start] [--stop] [--restart]
1415
DESCRIPTION
16-----------
17A simple script to setup gitweb and a web server for browsing the local
18repository.
1920
OPTIONS
21-------
2223
-l|--local::
24Only bind the web server to the local IP (127.0.0.1).
2526
-d|--httpd::
27The HTTP daemon command-line that will be executed.
28Command-line options may be specified here, and the
29configuration file will be added at the end of the command-line.
30Currently lighttpd, apache2 and webrick are supported.
31(Default: lighttpd)
3233
-m|--module-path::
34The module path (only needed if httpd is Apache).
35(Default: /usr/lib/apache2/modules)
3637
-p|--port::
38The port number to bind the httpd to. (Default: 1234)
3940
-b|--browser::
4142
The web browser command-line to execute to view the gitweb page.
43If blank, the URL of the gitweb instance will be printed to
44stdout. (Default: 'firefox')
4546
--start::
47Start the httpd instance and exit. This does not generate
48any of the configuration files for spawning a new instance.
4950
--stop::
51Stop the httpd instance and exit. This does not generate
52any of the configuration files for spawning a new instance,
53nor does it close the browser.
5455
--restart::
56Restart the httpd instance and exit. This does not generate
57any of the configuration files for spawning a new instance.
5859
CONFIGURATION
60-------------
6162
You may specify configuration in your .git/config
6364
-----------------------------------------------------------------------
65[instaweb]
66local = true
67httpd = apache2 -f
68port = 4321
69browser = konqueror
70modulepath = /usr/lib/apache2/modules
7172
-----------------------------------------------------------------------
7374
If the configuration variable 'instaweb.browser' is not set,
75'web.browser' will be used instead if it is defined.
7677
Author
78------
79Written by Eric Wong <normalperson@yhbt.net>
8081
Documentation
82--------------
83Documentation by Eric Wong <normalperson@yhbt.net>.
8485
GIT
86---
87Part of the gitlink:git[7] suite