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);
    }