Lines Matching refs:branch
561 public function create_branch($branch) { argument
562 return $this->run("branch $branch");
574 public function delete_branch($branch, $force = false) { argument
575 return $this->run("branch ".(($force) ? '-D' : '-d')." $branch");
587 foreach($branchArray as $i => &$branch) {
588 $branch = trim($branch);
590 $branch = str_replace("* ", "", $branch);
592 if ($branch == "") {
609 foreach($branchArray as $i => &$branch) {
610 $branch = trim($branch);
611 if ($branch == "" || strpos($branch, 'HEAD -> ') !== false) {
645 public function checkout($branch) { argument
646 return $this->run("checkout $branch");
656 * @param string $branch
659 public function merge($branch) { argument
660 return $this->run("merge $branch --no-ff");
722 * @param string $branch
725 public function push($remote, $branch) { argument
726 return $this->run("push --tags $remote $branch");
735 * @param string $branch
738 public function pull($remote, $branch) { argument
739 return $this->run("pull $remote $branch");