From 4fcb69052e582ac0cbfb04401d2ba775995c5523 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 16 Jul 2026 04:36:41 +0000 Subject: [PATCH] opencode config: add permission rule to ask before git commands --- opencode/config/config.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opencode/config/config.json b/opencode/config/config.json index 23a900d..283ca3e 100644 --- a/opencode/config/config.json +++ b/opencode/config/config.json @@ -66,5 +66,8 @@ } } } + }, + "permission": { + "bash": { "git *": "ask" } } } \ No newline at end of file