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