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

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

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