libgit2

refs

Version:
Git reference management routines

Objects

In-memory representation of a reference

Functions

Lookup a reference by its name in a repository

Create a new symbolic reference

Create a new symbolic reference, overwriting an existing one with the same name, if it exists

Create a new object id reference

Create a new object id reference, overwriting an existing one with the same name, if it exists

Get the OID pointed to by a reference

Get full name to the reference pointed by this reference

Get the type of a reference

Get the full name of a reference

Resolve a symbolic reference

Get the repository where a reference resides

Set the symbolic target of a reference

Set the OID target of a reference

Rename an existing reference

Rename an existing reference, overwriting an existing one with the same name, if it exists

Delete an existing reference

Pack all the loose references in the repository

Fill a list with all the references that can be found in a repository

List all the references in the repository, calling a custom callback for each one