Visual Studio with git worktree

  • Thread starter Thread starter Ams627
  • Start date Start date
A

Ams627

Guest
Hi,

If I add a branch using git worktree add -b <branch> folder, I would expect to be able to check it out by clicking on the branch menu in the bottom right hand corner of Visual Studio 2019 and then selecting the branch. However, I get a small message box stating: Git failed with a fatal error. 'branch2 is already checked out at r:/prog-br2.

This seems wrong to me - but should I expect this?

Thanks

A.

Continue reading...
 
Back
Top