diff --git a/AGENTS.md b/AGENTS.md index 7320de6..662c9c0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -39,6 +39,8 @@ 结果两个 repo 的提交都挂在了主人名下,后来用 `rebase --reset-author` / `filter-branch` 改回 dsh 并 force-push 才修好。`git commit` 报 `Author identity unknown` 就是这条配置又没了, 补 `git config user.name dsh` + `git config user.email dsh@gitea.local` 就行。 + ROT-8-viz 上这个 local config 被清掉过两次(原因没查清),所以那边提交时更稳的写法是 + 直接带上:`git -c user.name=dsh -c user.email=dsh@gitea.local commit ...`。 * **推代码**:`origin` = `https://gitea.starcells.ltd/dsh/R8Forge.git`。这台机器上 schannel 会报 `schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS`, `fetch` / `push` 都得走 openssl 后端 —— 已经写在这个 repo 的 local config 里