• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 days 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.