backend/components/AGitRepository.php
/**
	 * Deletes the local branch with the given name
	 * @param string $branchName the branch name
	 * @param boolean $force whether to force the delete
	 * @return string the response from git
	 */
Deletes the local branch with the given name
@param string $branchName the branch name
@param boolean $force whether to force the delete
@return string the response from git
Deletes the local branch with the given name @param string $branchName the branch name @param boolean $force whether to force the delete @return string the response from git
public function deleteBranch($branchName, $force = false)
	{
		$command = "branch ".($force ? "-D " : "-d ").$branchName;
		$this->_branches = null;
		return $this->run($command);
	}
public function deleteBranch ( $ branchName , $ force = false ) { $ command = " branch  " . ( $ force ? " -D  " : " -d  " ) . $ branchName ; $ this -> _branches = null ; return $ this -> run ( $ command ) ; }
Deletes the local branch with the given name
 @param string $branchName the branch name
 @param boolean $force whether to force the delete
 @return string the response from git
Deletes the local branch with the given name @param string $branchName the branch name @param boolean $force whether to force the delete @return string the response from git