get_head
Description:
Get and resolves the current HEAD reference of the repository.
Note that the returned ref is already resolved (if HEAD is symbolic). If you want to retrieve the symbolic ref called HEAD, then use lookup_reference instead.
Parameters:
this |
a Repository. |
Returns:
a Ref |