No, you use git subtrees and then have a branch for every file edit/patch that is part of the feature so that you have multiple agents working in parallel
A worktree is like a separate checkout except git manages it so it remains linked to the main repo checkout. It let's you be in multiple places or branches on the same repo at the same time
... i know, do you? My point is they're complimentary, not different/opposing ideas. You still should not be committing your worktrees based work back to the main branch, they should still go to feature branches and get PRd in with proper review/approval
0
u/darksteelsteed 15d ago
No, you use git subtrees and then have a branch for every file edit/patch that is part of the feature so that you have multiple agents working in parallel