PartKeepr\CoreBundle\Services\VersionService::extractGITCommit PHP Метод

extractGITCommit() публичный Метод

Extracts the current commit from GIT.
public extractGITCommit ( ) : string
Результат string
    public function extractGITCommit()
    {
        $result = shell_exec("git rev-parse HEAD");
        return trim($result);
    }