docs(GOV-003): 配置项目专用 Gitea 远程仓库

This commit is contained in:
2026-08-12 18:33:09 +08:00
parent 7c7190998b
commit b69023e3f8
24 changed files with 336 additions and 11 deletions
@@ -0,0 +1,9 @@
# 工程需求
- 远程名固定为 `origin`,地址固定为 `https://git.foximao.com/FoXiMao/a-share-analysis.git`
- 使用 `git config --local` 写入凭据助手、路径隔离、账号和默认推送目标。
- 不调用 `git config --global`,验证前后全局相关配置一致。
- 不将密码传给 Shell 命令,也不把密码写入仓库文件或 `.git/config`
- 使用非交互、只读的 `git ls-remote origin` 检查网络与仓库可达性。
- 未取得单独明确授权时,不运行 `git push`
- 更新根目录入口、治理规范、文档索引、版本和完整功能档案。