PHP Console for GIT
Switch branches/tags
Nothing to show
Pull request Compare This branch is 44 commits behind antonmedv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
git.php

README.md

PHP Console for GIT

Simple copy git.php under you git directory and open it in browser.

Requrements

PHP must by able to use function "proc_open" and work from git user.

Configuration

You can run git.php from another folder by using configuration file.

Create git-config.php file with next structure:

<?php
return array(
    'git' => '/home/git/bin/git',  # Another path to git bin. Default: "git"
    'dir' => '/home/var/project/', # Path to project. Default: "."
    'allow' => array(
            # List of allowed commands. Default: null (not used)
        ),
    'deny' => array(
            # List of denied commands. Default: null (not used)
        ),
);

License

Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php