GIT-INSTAWEB(1)
๐ฆ git-instaweb โ instant gitweb, like, right now
okay bestie so this is the Git Manual page for git-instaweb, and honestly? it's giving "tiny script, huge slay". we're talking Git 2.56.0, dated 2026-09-27 โ the whole thing is at the bottom too if you need receipts โจ
โจ NAME โจ
git-instaweb โ instantly browse your working repository in gitweb ๐
๐ SYNOPSIS ๐
git instaweb [--local] [--httpd=<httpd>] [--port=<port>]
[--browser=<browser>]
git instaweb [--start] [--stop] [--restart]
๐ธ DESCRIPTION ๐ธ
It's a simple little script that sets up gitweb plus a web server so you can browse your local repository. that's it. that's the whole vibe. no cap, it's that easy ๐ซถ
๐ OPTIONS ๐
-l,--localโ only bind the web server to the local IP (127.0.0.1). keep it cozy, keep it private ๐-d,--httpdโ the HTTP daemon command-line that will be executed. you can drop command-line options in here too, and the configuration file gets added at the end of the command-line. currently supported:apache2,lighttpd,mongoose,plackup,pythonandwebrick. (Default:lighttpd) ๐ฅ-m,--module-pathโ the module path (only needed if httpd is Apache, so like, only sometimes bestie). (Default:/usr/lib/apache2/modules) ๐ง-p,--portโ the port number to bind the httpd to. (Default:1234) ๐-b,--browserโ the web browser that should be used to view the gitweb page. this gets passed to thegit web--browsehelper script along with the URL of the gitweb instance. seegit-web--browse(1)for more info about all that. if the script fails, the URL will be printed to stdout โ so you're never fully stranded, iconique behavior ๐ญstart,--startโ start the httpd instance and exit. regenerates configuration files as necessary for spawning a new instance ๐stop,--stopโ stop the httpd instance and exit. > heads up: this does not generate any of the configuration files for spawning a new instance, and it does not close the browser either. so don't come for it ๐restart,--restartโ restart the httpd instance and exit. regenerates configuration files as necessary for spawning a new instance, same asstartโญ
๐ CONFIGURATION ๐
you may specify configuration in your .git/config, bestie:
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = konqueror
modulePath = /usr/lib/apache2/modules
and listen โ if the configuration variable instaweb.browser is not set, then web.browser will be used instead if it is defined. see git-web--browse(1) for more information about this ๐
๐ฆ SEE ALSO ๐ฆ
๐ GIT ๐
part of the git(1) suite โ you know the family ๐
mwah ๐ that's the whole page! brought to you by Git 2.56.0, dated 2026-09-27 โ go forth and browse your repo, main character ๐งโโ๏ธโจ
๐ฆ where this page comes from
- arch rolling: git 2.56.0-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms