How to allow to run some commands in sandbox?

I have git add, git commit, git status commands. How to allow agent to run them outside sandbox without asking me everytime?

hi @Eugen_Konkov and welcome to Cursor Forum!

You can control auto-run of commands in Settings > Agents > Auto-Run with the Command Allowlist where you can enter commands like ‘git status’,…

For teams the team admin may restrict those settings or even pre-fill the Allowlist.

Admin did not any restrictions.


Also in other chats Cursor do not asks me to allow to commit.

I am also asking this, because I do not see here “Allow XXX” as usually it appears near “Run”

hi @Eugen_Konkov which Auto-run Mode is active on your device?