1GIT-INSTAWEB(1)                   Git Manual                   GIT-INSTAWEB(1)
2
3
4

NAME

6       git-instaweb - Instantly browse your working repository in gitweb
7

SYNOPSIS

9           git-instaweb [--local] [--httpd=<httpd>] [--port=<port>]
10                          [--browser=<browser>]
11           git-instaweb [--start] [--stop] [--restart]
12

DESCRIPTION

14       A simple script to setup gitweb and a web server for browsing the local
15       repository.
16

OPTIONS

18       -l|--local
19           Only bind the web server to the local IP (127.0.0.1).
20
21       -d|--httpd
22           The HTTP daemon command-line that will be executed. Command-line
23           options may be specified here, and the configuration file will be
24           added at the end of the command-line. Currently, lighttpd and
25           apache2 are the only supported servers. (Default: lighttpd)
26
27       -m|--module-path
28           The module path (only needed if httpd is Apache). (Default:
29           /usr/lib/apache2/modules)
30
31       -p|--port
32           The port number to bind the httpd to. (Default: 1234)
33
34       -b|--browser
35           The web browser command-line to execute to view the gitweb page. If
36           blank, the URL of the gitweb instance will be printed to stdout.
37           (Default: firefox)
38
39       --start
40           Start the httpd instance and exit. This does not generate any of
41           the configuration files for spawning a new instance.
42
43       --stop
44           Stop the httpd instance and exit. This does not generate any of the
45           configuration files for spawning a new instance, nor does it close
46           the browser.
47
48       --restart
49           Restart the httpd instance and exit. This does not generate any of
50           the configuration files for spawning a new instance.
51

CONFIGURATION

53       You may specify configuration in your .git/config
54
55
56
57           [instaweb]
58                   local = true
59                   httpd = apache2 -f
60                   port = 4321
61                   browser = konqueror
62                   modulepath = /usr/lib/apache2/modules
63
64
65

AUTHOR

67       Written by Eric Wong <normalperson@yhbt.net>
68

DOCUMENTATION

70       Documentation by Eric Wong <normalperson@yhbt.net>.
71

GIT

73       Part of the git(7) suite
74
75
76
77
78Git 1.5.3.3                       10/09/2007                   GIT-INSTAWEB(1)
Impressum