Gets last (most recent) commit hash in the repository, or an empty string is there are no commits.
public getLastCommitHash ( string $options = "" ) : string | ||
$options | string | Options passed to git log |
return | string | Empty string or SHA1 |