2026-07-31 16:29:07 +08:00
|
|
|
|
---
|
|
|
|
|
|
name: reference_push_setup
|
2026-07-31 16:29:27 +08:00
|
|
|
|
description: cang-ying 仓库推送配置 + memory/eed 记忆同步区:远端地址、令牌位置(本地凭据文件)、同步机制
|
2026-07-31 16:29:07 +08:00
|
|
|
|
type: reference
|
|
|
|
|
|
---
|
|
|
|
|
|
cang-ying 仓库推送配置:
|
|
|
|
|
|
- 本地仓库:/home/ls/cang-ying
|
|
|
|
|
|
- 远端:https://guanghubingshuo.com/code/bingshuo/cang-ying.git(Gitea)
|
|
|
|
|
|
- 分支:main
|
|
|
|
|
|
- 认证方式:令牌存于本地凭据文件 ~/.git-credentials(chmod 600,不在仓库内,config 中 pushurl 为干净 URL 无令牌)
|
|
|
|
|
|
- 全局已设 credential.helper=store
|
|
|
|
|
|
- 仓库内有 experience/、memory/、feedback/ 目录(.hdlp 格式的经验记忆)
|
|
|
|
|
|
- 验证过:git ls-remote 认证连通正常
|
|
|
|
|
|
- 注意:.gitignore 排除了视频/图片/密钥等,推代码和 .hdlp 经验文件安全
|
|
|
|
|
|
|
2026-07-31 16:29:27 +08:00
|
|
|
|
**记忆同步区(2026-07-31 起)**:
|
|
|
|
|
|
- 蛋蛋的本地经验记忆同步到仓库 `memory/eed/`(含 README 说明)
|
|
|
|
|
|
- 源目录:/home/ls/.codebuddy/projects/home-ls/memory/
|
|
|
|
|
|
- 策略:学到有用的经验 → 实时复制到 memory/eed/ → git add+commit+push
|
|
|
|
|
|
- 只提交 memory/eed/ 相关内容,不碰仓库其他未提交改动
|
|
|
|
|
|
|
|
|
|
|
|
更新记录:
|
|
|
|
|
|
- 2026-07-31 令牌已更新至 ~/.git-credentials(权限600),git ls-remote 验证连通正常,仓库 .git/config 确认无令牌
|
|
|
|
|
|
- 2026-07-31 首次推送记忆同步区:commit 1ee4a5f(13 文件),远端 e6637a9→1ee4a5f
|