modified gitignore

This commit is contained in:
jorge 2022-11-30 12:26:47 +01:00
parent 8c7d8ca497
commit b787cda48f
1 changed files with 30 additions and 1 deletions

31
.gitignore vendored
View File

@ -1,3 +1,32 @@
# files and folders to be ignored by git
# ---> WordPress
# ignore everything in the root except the "wp-content" directory.
!wp-content/
# ignore everything in the "wp-content" directory, except:
# "mu-plugins", "plugins", "themes" directory
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/
# ignore these plugins
wp-content/plugins/hello.php
# ignore specific themes
wp-content/themes/twenty*/
# ignore node dependency directories
node_modules/
# ignore log files and databases
*.log
*.sql
*.sqlite
# ignore local personal files
*.geany
.vscode/
.DS_Store
theme/
ignore-*
*-ignore