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 .
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. |
the newly created reference. |