ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

c工程 git 忽略文件

2026/9/14 9:55:45 拓冰建站 浏览量
c工程 git 忽略文件

创建.gitignore文件填下下面内容即可

# 编译产物
*.o
*.out
*.exe
*.a
*.so
*.dll
*.obj
*.lib
*.dSYM/

# 编译目录
/build/
/bin/
/dist/
obj/
dependencies/

# IDE 相关
*.swp
*~
.tags
.cproject
.project
.settings/
.metadata/
.idea/
.vscode/
__history__/

# 日志 & 临时文件
*.log
*.tmp

# Debuggers会生成的文件
gmon.out
core