关于.gitignore文件

.gitignore文件用于忽略git同步文件。

git上创建项目时,默认的.gitignore文件配置比较少,不太适合于windows下vs的开发设置。

下面是vs中.gitignore条目样例:

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

*.iobj
*.VC.db
*.ipch
*.pch
*.ipdb
*.pdb
*.ilk
*.tlog
*.log
*.idb
Thumbs.db
/.vs
/x64
/debug
/release
/Debug
/Release

# 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

你可能感兴趣的:(工具和网站,github)