Created
October 14, 2020 19:04
-
-
Save slavapas/f9b9e3234073ad16c2dea27a5e7c63c8 to your computer and use it in GitHub Desktop.
.gitignore for GIT in 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
/* | |
!wp-content/ | |
.* | |
!.gitignore | |
!readme.md | |
~* | |
ehthumbs.db | |
Thumbs.db | |
.idea | |
.DS_Store | |
*.sublime-project | |
*.sublime-workspace | |
*.komodoproject | |
*.log | |
*.sql | |
*.sqlite | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
# игнорим плагины, если хотим отслеживать, то разкомментим строку ниже | |
#!wp-content/plugins/ | |
!wp-content/themes/ | |
# игнорим конкретные плагины, если разкомменчена строка !wp-content/plugins/ | |
#wp-content/plugins/hello.php | |
#wp-content/plugins/index.php | |
wp-content/themes/savoy/ | |
wp-content/themes/index.php | |
node_modules/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment