Skip to content

BaBL86/php-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

PHP Console for GIT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published