Last active
March 28, 2018 11:09
-
-
Save NickDeckerDevs/81b922517a684992d6a2fc5f678ced6c to your computer and use it in GitHub Desktop.
Wordpress .gitignore in root folder
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
| # Patterns in .gitignore file apply recursively to the (sub)directory the file is in | |
| # and all its subdirectories, unless pattern contains '/'. | |
| # Example: license.txt applies to any file named license.txt in given (root) directory and all its subdirectories, | |
| # while /license.txt applies to file with named license.txt in given (root) directory). | |
| # Example 2: node_modules will ignore all folders called node_modules. /node_modules will ignore only | |
| # the node_modules folder in the root directory | |
| wp-config.php | |
| wp-content/advanced-cache.php | |
| wp-content/backup-db/ | |
| wp-content/backup/ | |
| wp-content/backups/ | |
| wp-content/blogs.dir/ | |
| wp-content/cache/ | |
| wp-content/upgrade/ | |
| wp-content/uploads/ | |
| wp-content/mu-plugins/ | |
| wp-content/wp-cache-config.php | |
| wp-content/plugins/hello.php | |
| tmp/* | |
| *.log | |
| /.htaccess | |
| /license.txt | |
| /readme.html | |
| /sitemap.xml | |
| /sitemap.xml.gz | |
| # Hidden system files | |
| *.DS_Store | |
| *[Tt]humbs.db | |
| *.Trashes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment