logoalt Hacker News

arnvaldyesterday at 8:28 AM5 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_yesterday 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
1718627440yesterday at 6:30 PM

Does it checkout different branches at the same time, provides an in memory representation to be modified by another API, or does it to multitasking checkouts. The first thing is already natively in Git. I guess the others are innovation, although the second sounds unnecessary and the third like comedy.

PunchyHamsteryesterday at 3:01 PM

Sooooo git worktree. It's exactly that. One repository dir checked out in different places with different branches.

show 1 reply
user34283yesterday at 8:56 AM

That has been implemented 10 years ago:

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

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