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
13

DESCRIPTION

15       A simple script to set up gitweb and a web server for browsing the
16       local repository.
17

OPTIONS

19       -l, --local
20           Only bind the web server to the local IP (127.0.0.1).
21
22       -d, --httpd
23           The HTTP daemon command-line that will be executed. Command-line
24           options may be specified here, and the configuration file will be
25           added at the end of the command-line. Currently apache2, lighttpd,
26           mongoose, plackup, python and webrick are supported. (Default:
27           lighttpd)
28
29       -m, --module-path
30           The module path (only needed if httpd is Apache). (Default:
31           /usr/lib/apache2/modules)
32
33       -p, --port
34           The port number to bind the httpd to. (Default: 1234)
35
36       -b, --browser
37           The web browser that should be used to view the gitweb page. This
38           will be passed to the git web--browse helper script along with the
39           URL of the gitweb instance. See git-web--browse(1) for more
40           information about this. If the script fails, the URL will be
41           printed to stdout.
42
43       start, --start
44           Start the httpd instance and exit. Regenerate configuration files
45           as necessary for spawning a new instance.
46
47       stop, --stop
48           Stop the httpd instance and exit. This does not generate any of the
49           configuration files for spawning a new instance, nor does it close
50           the browser.
51
52       restart, --restart
53           Restart the httpd instance and exit. Regenerate configuration files
54           as necessary for spawning a new instance.
55

CONFIGURATION

57       You may specify configuration in your .git/config
58
59           [instaweb]
60                   local = true
61                   httpd = apache2 -f
62                   port = 4321
63                   browser = konqueror
64                   modulePath = /usr/lib/apache2/modules
65
66
67       If the configuration variable instaweb.browser is not set, web.browser
68       will be used instead if it is defined. See git-web--browse(1) for more
69       information about this.
70

SEE ALSO

72       gitweb(1)
73

GIT

75       Part of the git(1) suite
76
77
78
79Git 2.21.0                        02/24/2019                   GIT-INSTAWEB(1)
Impressum