--- name: reference_push_setup description: cang-ying 仓库推送配置:远端地址、令牌存放位置(本地凭据文件,不在仓库内) 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 令牌已更新至 ~/.git-credentials(权限600),git ls-remote 验证连通正常(HEAD e6637a92),仓库 .git/config 确认无令牌。