logoalt Hacker News

arnvaldtoday at 8:28 AM3 repliesview on HN

I think it means parallel branches. Normally in git you can use one branch at a time. With agentic coding you want agents to build multiple features at the same time, each in a separate branch


Replies

_fizz_buzz_today at 8:32 AM

Can agents not checkout different branches and then work on them? It's what people also do. I have a hard time to understand what problem is even solved here.

show 2 replies
user34283today at 8:56 AM

That has been implemented 10 years ago:

  git worktree add -b feature-2 ../feature-2
skydhashtoday at 12:13 PM

Even before git has the worktree feature, you could just clone the repo again (shallowly if it’s big).