libgit2

branch

Version:
Git branch parsing routines

Enums

Basic type of any Git branch

Callbacks

Functions

Create a new branch pointing at a target commit

Delete an existing branch reference

Loop over all the branches and issue a callback for each one

Move/rename an existing local branch reference

Lookup a branch by its name in a repository

Return the name of the given local or remote branch

Return the reference supporting the remote tracking branch, given a local branch reference

Set the upstream configuration for a given local branch

Return the name of the reference supporting the remote tracking branch, given the name of a local branch reference

Determine if the current local branch is pointed at by HEAD

Return the name of remote that the remote tracking branch belongs to