Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does Claude Code handle editing multiple files? My understanding is that it's CLI based, so it edits a bunch of files on it's own, so how do you accept/reject and rollback changes?


I use git and when necessary, git worktrees to keep parallel Claudes from bothering/actively-undoing each other’s edits (esp when an edit requires multiple files of changes, so the tree is temporarily broken).


> how do you accept/reject and rollback changes?

Git




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: