9 ms·
> <note here there is no sense of this being an inferior or “sub” checkout> There is not in worktrees either. You can use worktrees with a bare repository for
by masklinn 5y ago
> <note here there is no sense of this being an inferior or “sub” checkout>
There is not in worktrees either. You can use worktrees with a bare repository for instance. It's just that for backwards compatibility and the convenience of most users a non-bare clone creates a default worktree. That's exactly what you see if you `git clone` a repository then `git worktree list`, a worktree corresponding to the working copy.