libgit2

git_worktree_unlock

Version:

Unlock a locked worktree

Signature

int git_worktree_unlock(git_worktree *wt);

Parameters

In
wt

Worktree to unlock

Returns

int

0 on success, 1 if worktree was not locked, error-code otherwise

Versions