Skip to content
Dave Anderson edited this page Aug 11, 2013 · 5 revisions

http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solutions

git config --global core.excludesfile 'c:\users\username\myignorefile.txt'
#OS junk files
[Tt]humbs.db
*.DS_Store

# project specific files
log-file.txt
sql-file.txt

#Visual Studio files
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.opensdf
*.unsuccessfulbuild
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad

#MonoDevelop
*.pidb
*.userprefs

#Tooling
_ReSharper*/
*.resharper
[Tt]est[Rr]esult*
*.sass-cache

#Project files
[Bb]uild/

#Subversion files
.svn

# Office Temp Files
~$*

#NuGet
packages/

#ncrunch
*ncrunch*
*crunch*.local.xml

# visual studio database projects
*.dbmdl

#Test files
*.testsettings
Clone this wiki locally