create_symbolic_reference


Description:

public Ref? create_symbolic_reference (string name, string target, string log_message) throws Error

Creates a new symbolic reference.

The reference will be created in the repository and written to the disk. The returned value must be freed with unref.

Parameters:

this

a Repository.

name

the name for the new Ref.

target

the full name to the reference.

log_message

The one line long message to be appended to the reflog.

Returns:

the newly created reference.