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

at line 24
__construct(string $path)

Parameters

string $path

at line 31
static GitRepository download(string $remote, string $targetDir)

Parameters

string $remote
string $targetDir

Return Value

GitRepository

at line 47
getPath()

at line 52
getUrl()

at line 57
getLastCommitHash()

at line 62
getLastAuthor()

at line 67
getLastAuthoredDate()

at line 72
getLastTag(callable $filter = null)

Parameters

callable $filter

at line 83
checkout($branch)

Parameters

$branch