←back to thread

128 points nvader | 2 comments | | HN request time: 0s | source
Show context
michaelbuckbee ◴[] No.46190907[source]
The usage of worktrees is seeing a big comeback in the era of AI assisted coding.

I have a script that takes Github issues and spins them out into their own worktrees with corresponding stack.

I can then run individual instances of Claude Code in each and easily flip between them.

replies(2): >>46191265 #>>46202702 #
1. keybored ◴[] No.46202702[source]
What comeback? It’s been there for years and people who have use for them use them (or use git-clone(1) if they are not aware of them). It didn’t fall out of use at any point.
replies(1): >>46204864 #
2. michaelbuckbee ◴[] No.46204864[source]
"Comeback" is probably the wrong word, maybe "uptick" in usage?

Worktrees just fit particularly well for the scenario of developing multiple different features in parallel on the same codebase, which is a pattern that devs doing a lot of AI assisted development have.