Skip to content

Latest commit

 

History

History
executable file
·
35 lines (27 loc) · 641 Bytes

gitignore-files.md

File metadata and controls

executable file
·
35 lines (27 loc) · 641 Bytes
title slug date
What to .gitignore
files-gitignore
2015-01-19
  • Cache folders (.DS_Store, sass_cache)
  • Modules/Packages folders generated by dependency managers (node_modules, vendor)
  • Any folders that can be easily regenrated on the other end by a config file
  • Configuration files. Anything that contains private usernames and passwords

Following are common files added to my .gitignore

# Mac OS X
.DS_Store
*/.DS_Store

# Opencart
image/cache
system/cache # OC 1x
system/storage/cache # OC 2x
vqmod/vqcache

# Webhost
cgi-bin

# Dependency and Package folders
node_modules
vendor

# Sass
sass_cache