Ggit.RemoteHead

Fields

None

Methods

get_local_oid ()

get_name ()

get_oid ()

is_local ()

ref ()

unref ()

Details

class Ggit.RemoteHead

Represents a git remote head.

get_local_oid()
Returns:

the local oid or None.

Return type:

Ggit.OId or None

Get the local oid of the remote head.

get_name()
Returns:

the remote head name or None.

Return type:

str or None

Get the remote head name.

get_oid()
Returns:

the remote oid or None.

Return type:

Ggit.OId or None

Get the remote oid of the remote head.

is_local()
Returns:

whether the remote head is local.

Return type:

bool

Get whether the remote head is local.

ref()
Return type:

Ggit.RemoteHead

unref()