News for hackers. Stuff that matters.
Re:We Put Claude Code in Rollercoaster Tycoon by mh- on Sunday January 18, 2026 @03:03AM (#46665770)
I haven't tried it, but theoretically one could use Claude Code's hooks facility to enforce committing at some determined thresholds.
Re:We Put Claude Code in Rollercoaster Tycoon by MrGreenTea on Sunday January 18, 2026 @06:56AM (#46667077)
I use it (with jj but should be the same with git). It tells Claude to commit after every Write tool use. It's a bit to small steps but I then usually just squash them afterwards. I haven't yet found a good automatic heuristic for when to tell Claude to commit (or directly auto-commit, but I like that Claude writes the commit message)