Skip to content

Instantly share code, notes, and snippets.

Created Jul 24, 2011
What would you like to do?
git Smart HTTP with plackup
use strict;
use warnings;
use Plack::App::WrapCGI;
$ENV{GIT_PROJECT_ROOT} = "/path/to/parent/directory/of/git/repositories";
Plack::App::WrapCGI->new(script => "/usr/lib/git-core/git-http-backend", execute => 1)->to_app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment