Lock worktree if not already locked
Lock a worktree, optionally specifying a reason why the linked working tree is being locked.
Worktree to lock
Reason why the working tree is being locked
0 on success, non-zero otherwise
See Implementation
Lock worktree if not already locked
Lock a worktree, optionally specifying a reason why the linked working tree is being locked.