You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Meik Baum e40066784a add data & db files 12 months ago
..
test add data & db files 12 months ago
Git.php add data & db files 12 months ago
composer.json add data & db files 12 months ago
license.txt add data & db files 12 months ago
readme.md add data & db files 12 months ago

readme.md

Git.php

Description

A PHP git repository control library. Allows the running of any git command from a PHP class. Runs git commands using proc_open, not exec or the type, therefore it can run in PHP safe mode.

Requirements

A system with git installed

Basic Use

require_once('Git.php');

$repo = Git::open('/path/to/repo');  // -or- Git::create('/path/to/repo')

$repo->add('.');
$repo->commit('Some commit message');
$repo->push('origin', 'master');