Returns the HEAD resolved as a commit.
public getHeadCommit ( ) : Gitonomy\Git\Commit | null | ||
return | Gitonomy\Git\Commit | null | returns a Commit or ``null`` if repository is empty |
public getHeadCommit ( ) : Gitonomy\Git\Commit | null | ||
return | Gitonomy\Git\Commit | null | returns a Commit or ``null`` if repository is empty |