libgit2

git_worktree_add_options

Version:

Worktree add options structure

Initialize with GIT_WORKTREE_ADD_OPTIONS_INIT. Alternatively, you can use git_worktree_add_init_options.

Signature

typedef struct git_worktree_add_options { unsigned int version int lock git_reference *ref };

Members

unsigned int
version
int
lock

lock newly created worktree

ref

reference to use for the new worktree HEAD

Parameter To

Versions