.gitignore 补充忽略规则:IDE 本地配置 / 归档 / 构建日志 / Office 锁文件
- *.user / *.user.*:Qt Creator 等本地配置(各示例目录生成的 CMakeLists.txt.user) - *.7z / *.zip:项目归档与源码打包,不入库 - *.log:构建日志(build_full.log 等) - ~$*:Office 打开 .pptx/.docx 时的临时锁文件 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+19
@@ -4,6 +4,7 @@
|
|||||||
# Build outputs
|
# Build outputs
|
||||||
build/
|
build/
|
||||||
build-*/
|
build-*/
|
||||||
|
build_*/
|
||||||
out/
|
out/
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
@@ -14,6 +15,10 @@ moc_*.cpp
|
|||||||
qrc_*.cpp
|
qrc_*.cpp
|
||||||
ui_*.h
|
ui_*.h
|
||||||
|
|
||||||
|
*~
|
||||||
|
*.bak
|
||||||
|
*_
|
||||||
|
|
||||||
# Tooling caches
|
# Tooling caches
|
||||||
.qt/
|
.qt/
|
||||||
.cache/
|
.cache/
|
||||||
@@ -37,3 +42,17 @@ __pycache__/
|
|||||||
/file.txt
|
/file.txt
|
||||||
/in.txt
|
/in.txt
|
||||||
/person.txt
|
/person.txt
|
||||||
|
|
||||||
|
# IDE 本地配置(Qt Creator 等,切勿入库)
|
||||||
|
*.user
|
||||||
|
*.user.*
|
||||||
|
|
||||||
|
# 归档 / 打包(不入库)
|
||||||
|
*.7z
|
||||||
|
*.zip
|
||||||
|
|
||||||
|
# 构建日志
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Office 临时锁文件(打开 .pptx/.docx 时产生)
|
||||||
|
~$*
|
||||||
|
|||||||
Reference in New Issue
Block a user