Skip to content

Instantly share code, notes, and snippets.

@pablomayobre
Created April 19, 2016 23:04
Show Gist options
  • Save pablomayobre/f1d60f1fadb4f9e239dd4a19390967d0 to your computer and use it in GitHub Desktop.
Save pablomayobre/f1d60f1fadb4f9e239dd4a19390967d0 to your computer and use it in GitHub Desktop.
My super useful cover all cases .gitignore. A .gitignore to rule them all
### Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
### Notepad++ ###
nppBackup/
*.bak
### Mac ###
.DS_Store
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
### Lua ###
# Compiled Lua sources
luac.out
# luarocks build files
*.src.rock
*.tar.gz
*.zip
### C++ and C ###
# Compiled Object files
*.o
*.obj
*.lo
*.slo
*.elf
*.ko
*.os
# Precompiled Headers
*.pch
*.gch
# Compiled Dynamic libraries, Shared Objects
*.so
*.so.*
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.a
*.la
*.lai
*.lib
*.def
*.exp
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
### Autotools ###
# http://www.gnu.org/software/automake
Makefile.in
# http://www.gnu.org/software/autoconf
/aclocal.m4
/autom4te.cache
/autoscan-*.log
/autoscan.log
/compile
/config.h.in
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
### Visual Studio ###
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# 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 is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
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
*.pubxml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# 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
# 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
/lpeg.vcxproj.filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment