chore: 忽略根目录 air-cargo/,CLAUDE.md 声明其仅作另一仓库的提交通道
- .gitignore 新增 air-cargo/(同一份源码的独立 git 仓库,远程不同) - CLAUDE.md 新增「air-cargo 目录:一律忽略」:扫描、开发、查历史均跳过, 仅 sync-air-cargo skill 可操作 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,8 @@
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/androidstudio,gradle,java,kotlin
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=androidstudio,gradle,java,kotlin
|
||||
|
||||
air-cargo/
|
||||
|
||||
### Java ###
|
||||
# Compiled class file
|
||||
*.class
|
||||
|
||||
@@ -51,6 +51,15 @@ aerologic-app/
|
||||
└── 其他业务模块...
|
||||
```
|
||||
|
||||
### ⛔ `air-cargo/` 目录:一律忽略
|
||||
|
||||
根目录下的 `air-cargo/` 是同一份源码的另一个独立 git 仓库(远程地址不同,工作分支 `feature/hefei`),**只用于把本项目代码提交到另一个仓库**,不参与本项目任何开发;它已在 `.gitignore` 中忽略。
|
||||
|
||||
- 代码扫描、搜索、实现功能、排查问题、查 git 历史时**一律跳过该目录**,不读取、不修改、不当作参考实现(其中文件是同步过去的副本,可能落后于主干)
|
||||
- `find` / `grep -r` 这类不认 `.gitignore` 的命令要显式排除(如 `find . -path ./air-cargo -prune -o …`、`grep -r --exclude-dir=air-cargo`);`git grep`、`rg` 默认已跳过
|
||||
- 唯一允许操作它的场景是 `sync-air-cargo` skill(同步并在其本地提交,不 push)
|
||||
- 其中不应存在任何 Claude / Agent 相关文件(`CLAUDE.md`、`.claude/`、`.mcp.json` 等),sync 脚本和 air-cargo 本地的 `.git/info/exclude` 都已屏蔽
|
||||
|
||||
---
|
||||
|
||||
## 6 种典型页面类型
|
||||
|
||||
Reference in New Issue
Block a user