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
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
array|null
checkGitRevision()
detects Git revision, if running inside repo