Git
class Git (View source)
Git class to manipulate Git data
Methods
__construct(bool $showGitRevision, string|null $baseDir = null)
No description
bool
hasGitInformation()
No description
bool
isGitRevision(string|null $gitLocation = null)
detects if Git revision
static array
extractDataFormTextBody(array $commit)
Extract committer, author and message from commit body
array|null
getGitRevisionInfo()
No description
array|null
checkGitRevision()
detects Git revision, if running inside repo
Details
__construct(bool $showGitRevision, string|null $baseDir = null)
No description
bool
hasGitInformation()
No description
bool
isGitRevision(string|null $gitLocation = null)
detects if Git revision
static array
extractDataFormTextBody(array $commit)
Extract committer, author and message from commit body
array|null
getGitRevisionInfo()
No description
array|null
checkGitRevision()
detects Git revision, if running inside repo