visual studio编译c++项目时“.gitignore“常用设置
用git进行代码管理时没有必要把和代码关系不大的东西都push到仓库,通过 .gitignore文件可以方便地管理那些不被上传, 下面是常用的设置。
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
/.vs/
/x64/