diff --git a/content/posts/commits/2026-06-30-commit-915f512.md b/content/posts/commits/2026-06-30-commit-915f512.md new file mode 100644 index 0000000..df08e23 --- /dev/null +++ b/content/posts/commits/2026-06-30-commit-915f512.md @@ -0,0 +1,40 @@ +--- +title: "[bojemoi] fix(grafana-watcher): bypass SSH config via GIT_SSH_COMMAND + -F /dev/null" +date: 2026-06-30T15:08:07+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit 915f512 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `915f512` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `915f512fad6e497ec15543260cc5ac03313d49ce` | + + +### Description + +SSH refused /root/.ssh/config (owned by uid 1002, running as root in container). +Set GIT_SSH_COMMAND with -F /dev/null to skip config entirely, using gitea_key_new directly. +Also fixed git diff --cached to use safe.directory and _GIT_ENV. + +Co-Authored-By: Claude Sonnet 4.6 + +### Files Changed + +``` +M grafana-watcher/git_sync.py +``` + +### Diff Summary + +``` + grafana-watcher/git_sync.py | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) +```