From: Michael J Gruber Date: Fri, 17 Jul 2015 12:27:29 GMT Subject: Re: A few "linked checkout" niggles Message-ID: <55A8F4B1.9060304@drmicha.warpmail.net> In-Reply-To: Two more observations: $ git worktree add /tmp/gitwt Enter /tmp/gitwt (identifier gitwt) Switched to a new branch 'gitwt' Now I'm in /tmp/gitwt at branch gitwt. Right? No. I'm in the original wd at the original branch. So either we cd to the new location or quelch these messages or add a message that we're actually back. The other: linked worktrees are prefect for short term tests on detached heads. Even the manual page advertises detach. But: $ git worktree add --detach /tmp/gitwtt Enter /tmp/gitwtt (identifier gitwtt) fatal: '--detach' cannot be used with '-b/-B/--orphan' Maybe it's the auto-naming logic stepping on detached toes ;) Michael