Files
mao1/notes/工作流程.md
fyah b9a205e1ec docs: 添加工作流程规范与笔记同步
- 新增 notes/ 目录,同步 Obsidian Anchor-Memory 内容
- 包含:工作流程.md, 2026-W17.md, Linnea的留言.md
- 记录推送策略:改完即推,不积攒
- 记录仓库地址与权限账号
2026-04-27 09:42:58 +08:00

26 lines
1004 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.
---
tags:
- "#project/nerd-brain"
- "#tool/git-workflow"
---
# 工作流程规范
## 代码与笔记同步
- **仓库地址**[mao1](http://101.36.73.102:3112/fyah/mao1.git)
- **推送策略**:每次改动、重做、新增部分完成后,**立即** `git push` 到仓库。不积攒,保持实时同步。
- **权限账号**:使用 `fyah` 账号权限(已配置 remote URL
- **备份位置**`~/.hermes/anchor_memory_backup/`(核心脚本原始版本)。
## 执行流程
1. 完成代码/笔记修改。
2. 本地验证通过。
3. `git add -A && git commit -m "feat: <简短描述>"`
4. `git push -u origin main`
5. 在 Obsidian 对应项目的周报中记录本次改动。
## 注意事项
- 遇到权限问题(如 403/401立即停止并通知用户。
- 推送失败时不重试超过 2 次,先排查网络或凭证。
- 所有外部引用GitHub/论文/工具)必须在笔记中附带链接。
- 标签严格限制为 2 个,格式 `#Category/ProjectName`