Created
January 12, 2013 04:24
-
-
Save timani/4516079 to your computer and use it in GitHub Desktop.
Default .gitignore file for Pantheon. This should prevent the wp-content/uploads directory from being committed to git. It is important to create the wp-content/uploads and create the symlink.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore paths that contain user-generated content. | |
/sites/*/files | |
/sites/*/private | |
/files/* | |
/cache | |
# ** Only works in OSs that support newer versions of fnmatch (Bash 4+) | |
/sites/default/**/files | |
/sites/default/**/private | |
# Ignore the Wordpress wp-content/uploads to keep git clean | |
/wp-content/uploads/* | |
# Packages # | |
############ | |
*.7z | |
*.dmg | |
*.gz | |
*.bz2 | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
*.tgz | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
# OS generated files # | |
###################### | |
.DS_Store* | |
ehthumbs.db | |
Icon? | |
Thumbs.db | |
._* | |
# Vim generated files # | |
###################### | |
*.un~ | |
# SASS # | |
########## | |
.sass-cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment