Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nucklearproject/3735542 to your computer and use it in GitHub Desktop.
Save nucklearproject/3735542 to your computer and use it in GitHub Desktop.
undefined
My .gitignore YII
#editors
*.swp
.buildpath
.project
.settings
nbproject
.idea
*.sublime-project
*sublime-workspace
#general
.gitignore
.htaccess
#personal
devel.php
index-test.php
#folders
assets/*
protected/runtime/*
protected/data/*.db
protected/tests/report/*
# Recursively add a .gitignore file to all directories
# in the working directory which are empty and don't
# start with a dot. Helpful for tracking empty dirs
# in a git repository.
find . -type d -regex ``./[^.].*'' -empty -exec touch {}"/.gitignore" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment