A ProcessFailedException will be thrown if the command fails.
public cloneRepo ( string $url, string $destination = null, array $args = [], boolean $mustRun = false ) : boolean | ||
$url | string | The Git repository URL. |
$destination | string | A directory name to clone into. |
$args | array | Extra arguments for the Git command. |
$mustRun | boolean | Enable exceptions if the Git command fails. |
return | boolean |