DEV Community

Discussion on: Using multiple working trees in Git

Collapse
 
joanis profile image
Maxime Joanis

Didn't know about this, good stuff! Thanks!
I'm trying it out and it seems it won't work unless I put the branch directly after -b.
Commands starting with git worktree add -b --track
Should probably read git worktree add --track -b

Collapse
 
oliverjumpertz profile image
Oliver Jumpertz

Whoops, you are absolutely right. I'll correct this right away. Thank you for pointing that out!