Created
December 28, 2021 02:05
-
-
Save Zeyu-Li/3f19cfe635ba7a0b8ce666472e5cbb5e to your computer and use it in GitHub Desktop.
a gitignore for WordPress within the wp-content directory/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
| # Wordpress - ignore core, configuration, examples, uploads and logs. | |
| # modified from https://github.com/github/gitignore/blob/main/WordPress.gitignore | |
| # Example themes | |
| /themes/twenty*/ | |
| index.php | |
| /languages | |
| # Example plugin | |
| /plugins/hello.php | |
| # Uploads | |
| uploads/ | |
| # Log files | |
| *.log | |
| # htaccess | |
| /.htaccess | |
| # All plugins | |
| # | |
| # Note: If you wish to whitelist plugins, | |
| # uncomment the next line | |
| #/plugins | |
| # All themes | |
| # | |
| # Note: If you wish to whitelist themes, | |
| # uncomment the next line | |
| #/themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment