build/ 目录和 sdkconfig.old 之前已被提交到仓库, .gitignore 只能忽略未跟踪文件。 使用 git rm --cached 从索引中移除,本地文件不受影响。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
317 B
Plaintext
19 lines
317 B
Plaintext
# 忽略根目录下的 build 文件夹(包括其所有子文件/子文件夹)
|
||
/build
|
||
|
||
/dzbj
|
||
|
||
# 忽略根目录下的uniapp_code文件夹(这是APP端的业务)
|
||
/uniapp_code
|
||
|
||
|
||
# 忽略 macOS 系统文件
|
||
.DS_Store
|
||
|
||
# 忽略 Claude Code 和编辑器缓存
|
||
.cache
|
||
.claude
|
||
|
||
# 忽略构建副产物
|
||
sdkconfig.old
|