Lines Matching full:git
9 * Git Repository Interface Class
12 * of a git repository
18 // This regex will filter a probable password from any string containing a Git URL.
19 // Limitation: it will work for the first git URL occurrence in a string.
32 * Create a new git repository
50 … if (is_dir($repo_path) && file_exists($repo_path . "/.git") && is_dir($repo_path . "/.git")) {
54 '"' . $repo_path . '" is already a git repository',
61 if (!is_dir($reference) || !is_dir($reference . '/.git')) {
65 … '"' . $reference . '" is not a git repository. Cannot use as reference.',
114 * @param bool initialize new Git repo if not exists?
124 if (file_exists($repo_path . "/.git") && is_dir($repo_path . "/.git")) {
142 '"' . $repo_path . '" is not a git repository'
172 * Get the path to the git repo directory (eg. the ".git" directory)
179 return ($this->bare) ? $this->repo_path : $this->repo_path . "/.git";
183 * Tests if git is installed
192 $resource = proc_open(Git::getBin(), $descriptorspec, $pipes);
205 * Run a command in the git repository
215 //dbglog("Git->runCommand(command=[".$command."])");
243 … // Remove a probable password from the Git URL, if the URL is contained in the error message
265 * Run a git command in the git repository
267 * Accepts a git command to run
275 return $this->runCommand(Git::getBin() . " " . $command);
311 * Handles error on git command
330 * Handles success on git command
346 * Runs a 'git status' call
364 * Runs a `git add` call
381 * Runs a `git rm` call
400 * Runs a `git commit` call
421 * Runs a `git clone` call to clone the current repository
436 * Runs a `git clone` call to clone a different repository
451 * Runs a `git clone` call to clone a remote repository
467 * Runs a `git clean` call
482 * Runs a `git branch` call
496 * Runs a `git branch -[d|D]` call
510 * Runs a `git branch` call
532 * Lists remote branches (using `git branch -r`).
571 * Runs a `git checkout` call
586 * Runs a `git merge` call
601 * Runs a git fetch on the current branch
721 * Sets custom environment options for calling Git