LinuxCommandLibrary

gitweb

Web interface for browsing Git repositories

TLDR

Start development server

$ git instaweb --httpd=[webrick]
copy
Configure gitweb
$ git config --global instaweb.httpd [webrick]
copy

SYNOPSIS

gitweb cgi

DESCRIPTION

gitweb is a web interface for Git repositories. It provides a CGI script that displays repository contents, commits, branches, and diffs through a web browser.
gitweb is typically deployed with a web server (Apache, nginx) for shared repository browsing. It shows commit history, file contents, blame annotations, and search functionality.

CONFIGURATION

/etc/gitweb.conf

Main configuration file specifying project root, site name, and display options.

CAVEATS

CGI script, needs web server. No authentication built-in. Read-only interface.

HISTORY

gitweb is part of the Git distribution, providing web repository browsing since Git's early versions. It is the predecessor to modern git hosting interfaces.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community