libgit2

branch

Version:
Git branch parsing routines

Objects

Iterator type for branches

Enums

Basic type of any Git branch

Functions

Create a new branch pointing at a target commit

Delete an existing branch reference

Create an iterator which loops over the requested branches

Retrieve the next branch from the iterator

Free a branch iterator

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

Retrieve the name fo the upstream remote of a local branch