Skip to content

Instantly share code, notes, and snippets.

@BanksySan
Last active April 20, 2018 14:40
Show Gist options
  • Save BanksySan/8783592 to your computer and use it in GitHub Desktop.
Save BanksySan/8783592 to your computer and use it in GitHub Desktop.
Git configuration for Windows (Visual Studio, IDEA, NCrunch...)
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# =========================
# User-specific files
# =========================
*.suo
*.user
*.sln.docstates
# =========================
# Visual Studio files
# =========================
*.[Oo]bj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad
.vs/
# =========================
# Nuget
# =========================
packages/
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
# =========================
# MSTest test Results
# =========================
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# =========================
# Visual C++ cache files
# =========================
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# =========================
# Visual Studio profiler
# =========================
*.psess
*.vsp
*.vspx
# =========================
# Guidance Automation Toolkit
# =========================
*.gpState
# =========================
# ReSharper
# =========================
_ReSharper*/
*.[Rr]e[Ss]harper
# =========================
# TeamCity
# =========================
_TeamCity*
# =========================
# DotCover
# =========================
*.dotCover
# =========================
# NCrunch
# =========================
*ncrunch*
*crunch*.local.xml
_NCrunch_*
*ncrunchsolution
*ncrunchproject
# =========================
# NUnit
# =========================
TestResults.xml
*.[Vv]isual[Ss]tate.[Xx][Mm][Ll]
# =========================
# Installshield output folder
# =========================
[Ee]xpress/
# =========================
# DocProject
# =========================
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# =========================
# Click-Once directory
# =========================
publish/
# Publish Web Output
*.Publish.xml
# =========================
# Windows Azure Build Output
# =========================
csx
*.build.csdef
# =========================
# Windows Store app package directory
# =========================
AppPackages/
# =========================
# Others
# =========================
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# =========================
# Vim
# =========================
*~
# =========================
# Office Temp Files
# =========================
~$*
# =========================
# RIA/Silverlight projects
# =========================
Generated_Code/
# =========================
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
# =========================
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# =========================
# SQL Server files
# =========================
App_Data/*.mdf
App_Data/*.ldf
# =========================
# LightSwitch generated files
# =========================
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml
# =========================
# Windows detritus
# =========================
Thumbs.db
ehthumbs.db
Desktop.ini
# =========================
# Recycle Bin used on file shares
$RECYCLE.BIN/
# =========================
# =========================
# Mac desktop service store files
.DS_Store
# =========================
# =========================
# Jetbrains detritus
# =========================
.idea/
# =========================
# Construct 2
# =========================
*.uistate.xml
*.capx.backup*
*.capx.autosave*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment