Last active
January 18, 2020 23:13
-
-
Save jstnbr/922fe6477e1413325b93f082e9f90bfe to your computer and use it in GitHub Desktop.
A gitignore file for WordPress
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
/* | |
~* | |
.* | |
*.sass-cache | |
*.log | |
*.sql | |
*.sqlite | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
bower_components | |
node_modules | |
thermal | |
sitemap.xml | |
[Tt]humbs.db | |
wp-content/* | |
wp-content/themes/twenty* | |
!.editorconfig | |
!.gitignore | |
!composer.json | |
!readme.md | |
!android-chrome-*.png | |
!apple-touch-icon*.png | |
!browserconfig.xml | |
!favicon*.png | |
!favicon*.ico | |
!manifest.json | |
!mstile-*.png | |
!safari-pinned-tab.svg | |
!site.webmanifest | |
!wp-content/ | |
!wp-content/themes/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added a line for thermal. Thermal is a project I made that helps syncing WordPress. It helps to keep that line, especially if you use Thermal, but it's optional. Everything else should be standard.