Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Patching
Debugging
External Systems
Server Admin
- 2.21.1 → 2.45.2 no changes
- 2.21.0
02/24/19
- 2.10.5 → 2.20.5 no changes
- 2.9.5
07/30/17
- 2.5.6 → 2.8.6 no changes
- 2.4.12
05/05/17
- 2.1.4 → 2.3.10 no changes
- 2.0.5
12/17/14
RESUMO
git instaweb [--local] [--httpd=<httpd>] [--port=<porta>] [--browser=<browser>] git instaweb [--start] [--stop] [--restart]
DESCRIÇÃO
Um script simples para configurar o gitweb
e um servidor da web para navegar no repositório local.
OPÇÕES
- -l
- --local
Amarre o servidor da web apenas ao endereço IP local (127.0.0.1).
- -d
- --httpd
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)
- -m
- --module-path
The module path (only needed if httpd is Apache). (Default: /usr/lib/apache2/modules)
- -p
- --port
The port number to bind the httpd to. (Default: 1234)
- -b
- --browser
O navegador da web que deve ser utilizado para exibir a página gitweb. Isso será encaminhado ao script auxiliar git web--browse junto com a URL da instância gitweb. Para obter mais informações sobre isso consulte git-web--browse[1]. Caso o script falhe, a URL será exibida no stdout.
- start
- --start
Start the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
- stop
- --stop
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.
- restart
- --restart
Restart the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
CONFIGURAÇÃO
Você pode definir a sua configuração em seu .git/config
[instaweb] local = true httpd = apache2 -f port = 4321 browser = konqueror modulePath = /usr/lib/apache2/modules
Caso a variável de configuração instaweb.browser
não esteja definida, a variável ` web.browser` será utilizada em seu lugar caso esteja definida. Para obter mais informações sobre isso consulte git-web--browse[1].
GIT
Parte do conjunto git[1]