class GitRepository

Methods

__construct(string $path)

No description

static GitRepository
download(string $remote, string $targetDir)

No description

getPath()

No description

getUrl()

No description

getLastCommitHash()

No description

getLastAuthor()

No description

getLastAuthoredDate()

No description

getLastTag(callable $filter = null)

No description

checkout($branch)

No description

Details

__construct(string $path)

Parameters

string $path

static GitRepository download(string $remote, string $targetDir)

Parameters

string $remote
string $targetDir

Return Value

GitRepository

getPath()

getUrl()

getLastCommitHash()

getLastAuthor()

getLastAuthoredDate()

getLastTag(callable $filter = null)

Parameters

callable $filter

checkout($branch)

Parameters

$branch