Files
oc/memory/facts/opencode-config-oc-repo.md
T
xiaoshuai d03a9f462c memory: 记下 opencode 配置仓库本身的位置与推送方式
新增 facts/opencode-config-oc-repo.md:~/.config/opencode 是独立仓库
(oc.git / main / SSH),只跟踪三棵树,改动在项目目录里看不到,
必须单独提交。顺带补上 facts 类别的 index.md。

Verified: cd ~/.config/opencode && git status 干净、
git log @{u}..HEAD 为空,push 返回 8dc02b6..2d4df45 之后无新差异。
2026-10-12 18:11:41 +08:00

16 lines
982 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: facts/opencode-config-oc-repo.md
kind: fact
summary: 该目录自身是 git 仓库,只跟踪 skills/ plugins/ memory/ 三棵树,推送走 SSH 到 xiaoshuai/oc.git。
highlight: 改动 skills/ plugins/ memory/ 后需单独在该目录 commit + push
created: 1791799869835
updated: 1791799869835
load_when:
- ~/.config/opencode 改动
- oc 仓库
- opencode 配置提交
- skills plugins memory 推送
---
`~/.config/opencode` 与任何项目仓库无关,是独立仓库:origin = git@git.xsinfo.vip:xiaoshuai/oc.git,分支 main,gitignore 用 `/*` 全忽略再 `!` 放行 skills/ plugins/ memory/(外加 .gitignore、pwsh.cmd、package.json),node_modules 与 memory/**/.state.json 不跟踪。在项目目录里跑 git status 看不到它的改动,必须 cd 过去。HTTPS 推送无凭据必失败,用 SSH。当前有效的提交准则见该仓库 memory/rules/only-commit-fully-tested.md:端到端跑通才提交、禁止 mock 冒充验证。