Iterator type for branches
Basic type of any Git branch
Create a new branch pointing at a target commit
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
Get the branch name
Get the upstream of a branch
Set a branch's upstream branch
Get the upstream name of a branch
Determine if HEAD points to the given branch
Determine if any HEAD points to the current branch
Find the remote name of a remote-tracking branch
Retrieve the upstream remote of a local branch
Retrieve the upstream merge of a local branch
Determine whether a branch name is valid, meaning that (when prefixed with refs/heads/
) that it is a valid reference name, and that any additional branch name restrictions are imposed (eg, it cannot start with a -
)