PartKeepr\CoreBundle\Services\VersionService::extractGITCommit PHP Méthode

extractGITCommit() public méthode

Extracts the current commit from GIT.
public extractGITCommit ( ) : string
Résultat string
    public function extractGITCommit()
    {
        $result = shell_exec("git rev-parse HEAD");
        return trim($result);
    }