Ask HN: How to require confirmation for git reset in Cursor after recent update?
1 points
1 hour ago
| 0 comments
| HN
Previously, Cursor had a setting in Settings -> Agents to prevent agents from making changes in git: commit, reset, restore, checkout.

Every time an agent attempted to execute any of these git commands, I was required to confirm the actions, even in the sandbox.

With the latest Cursor update, this setting has disappeared. Now agents can once again freely execute git reset/git checkout and delete all changes made.

These commands are not in the Command Allowlist.

How can I make the agent ask me for confirmation again so that I can click "Allow" for such commands?

No one has commented on this post.