Banago\PHPloy\Git::checkout PHP Méthode

checkout() public méthode

Checkout given $branch.
public checkout ( string $branch, string $repoPath = null ) : array
$branch string
$repoPath string
Résultat array
    public function checkout($branch, $repoPath = null)
    {
        $command = 'checkout ' . $branch;
        return $this->command($command, $repoPath);
    }