Lines Matching refs:run
175 $repo->run('init');
230 $this->run('init');
244 if ($_init) $this->run('init');
292 * Accepts a shell command to run
295 * @param string command to run
311 * single PHP request run only. These variables
344 * Accepts a git command to run
347 * @param string command to run
350 public function run($command) {
427 $msg = $this->run("status");
447 return $this->run("add $files -v");
464 return $this->run("rm ".($cached ? '--cached ' : '').$files);
482 return $this->run("commit --allow-empty ".$flags." --file=".$msgfile);
499 return $this->run("clone --local ".$this->repo_path." $target");
513 return $this->run("clone --local $source ".$this->repo_path);
528 return $this->run("clone $reference $source ".$this->repo_path);
542 return $this->run("clean".(($force) ? " -f" : "").(($dirs) ? " -d" : ""));
555 return $this->run("branch $branch");
568 return $this->run("branch ".(($force) ? '-D' : '-d')." $branch");
579 $branchArray = explode("\n", $this->run("branch"));
601 $branchArray = explode("\n", $this->run("branch -r"));
639 return $this->run("checkout $branch");
653 return $this->run("merge $branch --no-ff");
664 return $this->run("fetch");
682 return $this->run("tag -a $tag --file=".$msgfile);
698 $tagArray = explode("\n", $this->run("tag -l $pattern"));
719 return $this->run("push --tags $remote $branch");
732 return $this->run("pull $remote $branch");
743 return $this->run('log');
745 return $this->run('log --pretty=format:"' . $format . '"');