libgit2

git_repository_merge_cleanup

Version:

Remove all the metadata associated with an ongoing git merge, including MERGE_HEAD, MERGE_MSG, etc.

Signature

int git_repository_merge_cleanup(git_repository *repo);

Parameters

In
repo

A repository object

Returns

int

0 on success, or error

Versions