logoalt Hacker News

hdralast Thursday at 11:49 PM7 repliesview on HN

I've been trying to stop the coding assistants from making git commits on their own and nothing has been working.


Replies

zmmmmmlast Friday at 1:24 AM

hah - i'm the opposite, I want everything done by the AI to be a discrete, clear commit so there is no human/AI entanglement. If you want to squash it later that's fine but you should have a record of what the AI did. This is Aider's default mode and it's one reason I keep using it.

algoriaslast Friday at 12:48 AM

run them in a VM that doesn't have git installed. Sandboxing these things is a good idea anyways.

show 2 replies
Aurornislast Friday at 4:51 PM

Which coding assistant are you using?

I'm a mild user at best, but I've never once seen the various tools I've used try to make a git commit on their own. I'm curious which tool you're using that's doing that.

show 1 reply
manwdslast Friday at 1:10 AM

Why not use something like Amp Code which doesn't do that, people seem to rage at CC or similar tools but Amp Code doesn't go making random commits or dropping databases.

show 1 reply
AstroBenlast Friday at 12:32 AM

Are you using aider? There's a setting to turn that off

dust-jacketlast Friday at 3:03 PM

require commits to be signed.

SoftTalkerlast Friday at 12:17 AM

Don't give them a credential/permission that allows it?

show 2 replies