Lines Matching full:git
4 * Git.php
6 * A PHP git library
8 * @package Git.php
12 * @license http://github.com/kbjr/Git.php
21 * Git Interface Class
24 * of git repositories.
26 * @class Git
28 class Git { class
31 * Create a new git repository
45 * Open an existing git repository
75 * Git Repository Interface Class
78 * of a git repository
90 public $git_path = '/usr/bin/git';
91 …/* The git path defaults to the default location for linux, the consumer of this class needs to ov…
96 $git_exe_path = $conf['plugin']['git']['git_exe_path'];
104 $conf['plugin']['git']['git_exe_path'] = '"C:\Program Files (x86)\Git\bin\git.exe"';
108 * Create a new git repository
118 if (is_dir($repo_path) && file_exists($repo_path."/.git") && is_dir($repo_path."/.git")) {
119 throw new Exception('"'.$repo_path.'" is already a git repository');
159 if (file_exists($repo_path."/.git") && is_dir($repo_path."/.git")) {
166 throw new Exception('"'.$repo_path.'" is not a git repository');
189 * Tests if git is installed
213 * Run a command in the git repository
243 * Run a git command in the git repository
245 * Accepts a git command to run
257 * Runs a `git add` call
271 * Runs a `git log` call
281 * Retieves a specific file from GIT
305 * Runs a `git status` call
378 * Runs a `git commit` call
413 * Runs a `git clone` call to clone the current repository
427 * Runs a `git clone` call to clone a different repository
452 * Runs a `git clone` call to clone a remote repository
466 * Runs a `git clean` call
479 * Runs a `git branch` call
492 * Runs a `git branch -[d|D]` call
505 * Runs a `git branch` call
541 * Runs a `git checkout` call
555 * Runs a `git merge` call
570 * Runs a `git reset` call
584 * Runs a git fetch on the current branch
664 file_put_contents($this->repo_path."/.git/description", $new);
674 return file_get_contents($this->repo_path."/.git/description");