From: Junio C Hamano Date: Thu, 02 Oct 2025 18:47:14 GMT Subject: Re: [PATCH 2/2] doc: git-worktree: Add side by side branch checkout example Message-ID: In-Reply-To: "Kristoffer Haugsbakk" writes: > This works for me. But why not this? > > git clone --bare some-repository > cd some-repository > git worktree add some-branch > git worktree add another-branch Do you mean "some-repository/config" is the local configuration file, next to it there are "some-branch" and "another-branch" directories, and you have to have some way to tell that, among direct subdirectories of "some-repository/", "some-branch/" is a worktree while refs/ is not? No thanks ;-).