Skip to content

Instantly share code, notes, and snippets.

@jacurtis
Created August 31, 2014 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacurtis/ca78f0cb8bfd482a1819 to your computer and use it in GitHub Desktop.
Save jacurtis/ca78f0cb8bfd482a1819 to your computer and use it in GitHub Desktop.
Best CodeIgniter 2 .GitIgnore
## CodeIgniter 2 Framework Files
## -----------------------------
*/config/development
*/logs/log-*.php
*/logs/!index.html
*/cache/*
*/cache/!index.html
*/cache/!.htaccess
## CodeKit Files
## -----------------------------
*.codekit
## SASS and Compass Files
## -----------------------------
**/.sass-cache/**
config.rb
## Mac Stuff
## -----------------------------
.DS_Store
@jacurtis
Copy link
Author

Just wanted to share the .gitignore file I use when building a CodeIgniter 2 stack. This also includes helpful stuff for hiding Mac files, Sass + Compass files, and CodeKit (css preprocessor tool for mac) files.

Feel free to use it at will. My goal is to share. Tweet me at @_jacurtis if you want to say thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment