you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago

Yeah, the untracked files not being copied is also a big reason why I'll typically just switch to a different branch instead.

I mainly use worktrees when it's useful that untracked files are not copied, like when I need to check out a completely different state of the project, where cached files would need to be invalidated anyways, for example.

  • source
  • parent