=============================================================================== GIT Web GIT Web lets you view and control git repositories on a remote host Things such as list branches, diff, and the commit messages. Which is not easilly available from a http git connection. https://github.com/tmacam/private-git-on-dreamhost ------------------------------------------------------------------------------- Build wget http://www.kernel.org/pub/software/scm/git/git-1.7.1.1.tar.gz tar zxvf git-*.tar.gz cd git-*[^z] make prefix=/usr/bin gitweb/gitweb.cgi rm gitweb/gitweb.perl # we won't need it Install export GITWEB_INSTALL_DIR="~/gitweb" cp -r gitweb ${GITWEB_INSTALL_DIR} Setup # Copy things to where your GIT .htaccess file cp ${GITWEB_INSTALL_DIR}/*.{css,png,js} ~/public_html/git_repos # create a wrapper cd ~/public_html/git_repos/ vi gitweb_wrapper.cgi =======8<-------- #!/bin/bash export GITWEB_CONFIG=\ ${HTTP_GITWEB_CONFIG:?HTTP_GITWEB_CONFIG env not set} export GIT_PROJECT_ROOT=\ ${HTTP_GIT_PROJECT_ROOT:?HTTP_GIT_PROJECT_ROOT not set} ~user/gitweb/gitweb.cgi =======8<-------- vi ~/public_html/git_repos/gitweb_config.perl =======8<-------- # where is the git binary? $GIT = "/usr/bin/git"; # where are our git project repositories? $projectroot = $ENV{'GIT_PROJECT_ROOT'}; # what do we call our projects in the gitweb UI? $home_link_str = "My Git Projects"; # where are the files we need for gitweb to display? @stylesheets = ("gitweb.css"); $logo = "git-logo.png"; $favicon = "/favicon.png"; # what do we call this site? $site_name = "My Personal Git Repositories"; =======8<-------- =============================================================================== GIT list http://gitlist.org ===============================================================================