backend/components/AGitRepository.php
/**
	 * Clones the current repository into a different directory
	 * @param string $targetDirectory the directory to clone into
	 * @return string the response from git
	 */
Clones the current repository into a different directory
@param string $targetDirectory the directory to clone into
@return string the response from git
Clones the current repository into a different directory @param string $targetDirectory the directory to clone into @return string the response from git
public function cloneTo($targetDirectory)
	{
		$command = "clone --local ".$this->getPath()." ".$targetDirectory;
		return $this->run($command);
	}
public function cloneTo ( $ targetDirectory ) { $ command = " clone --local  " . $ this -> getPath ( ) . " " . $ targetDirectory ; return $ this -> run ( $ command ) ; }
Clones the current repository into a different directory
 @param string $targetDirectory the directory to clone into
 @return string the response from git
Clones the current repository into a different directory @param string $targetDirectory the directory to clone into @return string the response from git