Lines Matching refs:branch
288 public function getFile($filename, $branch = 'HEAD') { argument
290 $cmd = 'show '.$branch.':'.$filename;
487 public function create_branch($branch) { argument
488 return $this->run("branch $branch");
500 public function delete_branch($branch, $force = false) { argument
501 return $this->run("branch ".(($force) ? '-D' : '-d')." $branch");
513 foreach($branchArray as $i => &$branch) {
514 $branch = trim($branch);
516 $branch = str_replace("* ", "", $branch);
517 if ($branch == "")
549 public function checkout($branch) { argument
550 return $this->run("checkout $branch");
560 * @param string $branch
563 public function merge($branch, $msg = "") argument
565 if ($msg == "") return $this->run("merge $branch --no-ff");
566 return $this->run("merge $branch --no-ff -m ".$msg);
649 * @param string $branch
652 public function pull($remote, $branch) argument
654 return $this->run("pull $remote $branch");