Const
One entry of git worktree list --porcelain -z. branch is the full ref (refs/heads/...) and is none when the worktree is detached or bare; head is none for a bare entry; lock is none when not locked.
git worktree list --porcelain -z
branch
refs/heads/...
head
lock
One entry of
git worktree list --porcelain -z.branchis the full ref (refs/heads/...) and is none when the worktree is detached or bare;headis none for a bare entry;lockis none when not locked.