From: Junio C Hamano Date: Fri, 15 Apr 2016 15:36:31 GMT Subject: Re: possible to checkout same branch in different worktree Message-ID: In-Reply-To: Reto Hablützel writes: > the checkout command prevents me from checking out a branch in the > current worktree if it is already checked out in another worktree. > > However, if I rebase the branch in the current worktree onto the > branch in the other worktree, I end up in a situation where the same > branch is checked out twice in the two worktrees. I agree that any end-user facing subcommand like "git rebase", even if it is not "git checkout", should refuse to work on and update a branch that is checked out elsewhere. Otherwise it will end up causing confusion. Thanks for a report. The "multiple worktree" feature is still highly experimental and those who are working on it would appreciate your reporting issues with it.