libgit2

git_reference__alloc_symbolic

Version:

Create a new symbolic reference.

Signature

git_reference *git_reference__alloc_symbolic(const char *name, const char *target);

Parameters

const char *
In
name

the reference name

const char *
In
target

Returns

the created git_reference or NULL on error

Versions