Skip to content

Instantly share code, notes, and snippets.

@amokan
Created July 28, 2011 03:29
Show Gist options
  • Save amokan/1110915 to your computer and use it in GitHub Desktop.
Save amokan/1110915 to your computer and use it in GitHub Desktop.
current .gitignore for .NET projects
# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.vi
*~
# OS or Editor folders
.DS_Store
.cache
.project
.settings
nbproject
Thumbs.db
# Folders to ignore
.hg
.svn
publish
.idea
#Ignore files generated by Visual Studio and ReSharper
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
*.vs10x
*.docstates
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
build/
deploy/
docs/
test/
*_Spliced.*
# Include exes if they are in the NuGet "packages" directory
!/packages/*/*/*.exe
!/src/packages/*/*/*.exe
# Exclude diagram files in the root of the src folder
/src/*.dgml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment