Searched refs:active_branch (Results 1 – 3 of 3) sorted by relevance
530 public function active_branch($keep_asterisk = false) { function in GitRepo532 $active_branch = preg_grep("/^\*/", $branchArray);533 reset($active_branch);535 return current($active_branch);537 return str_replace("* ", "", current($active_branch));
625 public function active_branch($keep_asterisk = false) { function in GitRepo627 $active_branch = preg_grep("/^\*/", $branchArray);628 reset($active_branch);630 return current($active_branch);632 return str_replace("* ", "", current($active_branch));
84 $repo->push('origin',$repo->active_branch());122 $repo->pull('origin',$repo->active_branch());