41 lines
952 B
Markdown
41 lines
952 B
Markdown
---
|
|
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 <noreply@anthropic.com>
|
|
|
|
### Files Changed
|
|
|
|
```
|
|
M grafana-watcher/git_sync.py
|
|
```
|
|
|
|
### Diff Summary
|
|
|
|
```
|
|
grafana-watcher/git_sync.py | 16 ++++++++++++++--
|
|
1 file changed, 14 insertions(+), 2 deletions(-)
|
|
```
|