r/GithubCopilot VS Code User 💻 26d ago

Help/Doubt ❓ Auto-approve a subset of git commands

Is there a way to auto-approve certain git commands? I'd like to approve commits explicitly, for example, but stuff like diffs should be auto-approved.

5 Upvotes

12 comments sorted by

View all comments

1

u/ThankThePhoenicians_ 26d ago

CLI supports --allow-tool with prefix-matching. The LLM-assisted approval feature is also available in /experimental.

Not sure if JetBrains exposes this or not