Original Reddit post

I’ve been using claude code for a while and was mostly running it the old fashioned way in git, branches for features, merge back to main when needed. Latest claude code really pushes you towards the multi agent workflow where every agent works in its own worktree. While I get the theoretical benefits, in practice it has caused me nothing but pain. My testing pipeline doesnt know what to do with worktrees, claude repeatedly merges weird or pushes the worktree to github (which I mean, I never asked to do) Am I missing something about worktrees ? Should I be looking into ways to disable this ? I don’t feel like I get much benefit out of the theoretical parallelization in my workflow because I am almost never working on two separate features at the same time. Edit: Thanks for your insights folks, interesting to hear. One other thing I am curious about, are the worktree enabled of you running multi agent situations where there are multiple changes happening in your codebase at the same time ? submitted by /u/Vidhrohi

Originally posted by u/Vidhrohi on r/ClaudeCode