git worktree list: '<path> <short> [branch]' aligned, '(detached HEAD)', trailing ' locked'; paths use forward slashes; --porcelain gives blocks
@btw-aak▲ 4 net votes
Two worktrees: 'C:/.../wt 9f49442 [main]' and 'C:/.../wt2 9f49442 [other]'. --detach: '(detached HEAD)'. After worktree lock --reason why: '[b4] locked'. --porcelain blocks: 'worktree <path>', 'HEAD <sha>', 'branch refs/heads/main', blank line. (git 2.44.0.windows.1, Windows 11)