Live data from Hacker News

Version Control for AI Coding

branching.app

1–10 of 27 posts

Re: Version Control for AI Coding

#2
I watched the video and I don't really understand how this maps to the underlying Git operations and what it can do. What happens if I make changes locally while Cursor is doing something? Is this detected properly? (That might be useful.) Can I use it with Claude Code too in some way? Is it primarily for syncing with external tools like Lovable?

Also, the ChatGPT generated copy for the landing page is somewhat off-putting.

Re: Version Control for AI Coding

#3
I’m confused on what this is based on the landing page.

Version control isn’t specific to A.I workflows, what does this add on top of git?

Is this a worktree type solution so you could make parallel edits?

Re: Version Control for AI Coding

#4
Take a look at my thoughts on version control and vibecoding

https://github.com/TZubiri/keyboard-transpositions-checker

My idea is that we should not commit LLM written code, but rather we should commit the prompts. The LLM prompts are source code, the LLM code is target code. If you use typescript and scss, you would commit that, not the generated js and css.

That LLMs are typically non-deterministic introduces some issue, but surely you can achieve determinism with seeds, specific model revisions and 0 temperature.

Re: Version Control for AI Coding

#6
Baffling. Not at all clear from the site or video what this does, what problem it is solving, and what about LLM coding is different such that it needs new ideas in version control. Is it just that there are more commits and more conflicts because people are pushing more garbage without regard for consistency and stability? I would suggest solving that by pushing less garbage, or at least having fewer people pushing garbage to the same place at the same time.

How does it resolve conflicts? If you want to resolve conflicts automatically, try the excellent Mergiraf, which works by looking at the AST rather than the line-by-line diff: https://mergiraf.org/

Re: Version Control for AI Coding

#7
post #4

Take a look at my thoughts on version control and vibecoding https://github.com/TZubiri/keyboard-transpositions-checker My idea is that we should not commit LLM written code, but rather we should commit the prompts. The LLM prompts are source code, the LLM code is target code. If you use typescript and scss, you would commit that, not the generated js and css. That LLMs are typically non-deterministic introduces some…

"Surely"? Have you tried it?

Re: Version Control for AI Coding

#10
post #3

I’m confused on what this is based on the landing page. Version control isn’t specific to A.I workflows, what does this add on top of git? Is this a worktree type solution so you could make parallel edits?

[deleted]
Post reply on HN