Worktrees: Git's best kept secret (and why you should use them)

18 handfuloflight 1 8/7/2025, 9:17:54 PM tomups.com ↗

Comments (1)

paradox460 · 9m ago
They're useful, but the fact that you have to grant them a space somewhere on your computer does handicap them a bit. I typically reach for them when I'm doing library upgrades, which take a while, and having my repo switch back and forth to different versions is cumbersome, mostly due to things like dependencies and other unversioned files needing to be changed to support the application and it's specific set of dependencies.

For most other things, where unversioned files don't cause grief like this, a tool like jujutsu, which eliminates the whole stash dance, is generally better