Skip to content

Instantly share code, notes, and snippets.

@djekl
Created July 12, 2013 10:03
Show Gist options
  • Save djekl/5983307 to your computer and use it in GitHub Desktop.
Save djekl/5983307 to your computer and use it in GitHub Desktop.
Default .gitignore used to start projects
########################################
### SOME SENSIBLE DEFAULTS BELOW ###
# https://github.com/github/gitignore #
########################################
##############################
### CodeIgntiter ###
*/config/development
*/logs/log-*.php
*/logs/!index.html
*/cache/*
*/cache/!index.html
### /END CodeIgniter ###
##############################
##############################
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
### /END OSX ###
##############################
##############################
### WIN ##
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
### /END WIN ###
##############################
##############################
### SVN ###
.svn/
### /END SVN ###
##############################
##########################################
### KEEP THE FOLLOWING ###
!.gitkeep
!.htaccess
!index.html
##########################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment