modified git ignore

This commit is contained in:
jorge 2024-01-09 16:03:38 +01:00
parent 89a465599f
commit d55434280c
1 changed files with 29 additions and 39 deletions

68
.gitignore vendored
View File

@ -1,53 +1,39 @@
# ---> WordPress # ---> WordPress
# Wordpress - ignore core, configuration, examples, uploads and logs. # ignore everything in the root except the "wp-content" directory.
# https://github.com/github/gitignore/blob/main/WordPress.gitignore #!wp-content/
# Core # ignore everything in the "wp-content" directory, except:
# # "mu-plugins", "plugins", "themes" directory
# Note: if you want to stage/commit WP core files #wp-content/*
# you can delete this whole section/until Configuration. #!wp-content/mu-plugins/
/wp-admin/ #!wp-content/plugins/
/wp-content/index.php #!wp-content/themes/
/wp-content/languages
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
# Configuration # ignore these plugins
wp-config.php #wp-content/plugins/hello.php
# Example themes # ignore specific themes
/wp-content/themes/twenty*/ #wp-content/themes/twenty*/
# Example plugin # ignore node dependency directories
/wp-content/plugins/hello.php node_modules/
# Uploads # ignore log files and databases
/wp-content/uploads/
# Log files
*.log *.log
*.sql
*.sqlite
# ignore local personal files
*.geany
.vscode/
.DS_Store
theme/
_gitignore*
# htaccess # htaccess
/.htaccess /.htaccess
# All plugins
#
# Note: If you wish to whitelist plugins,
# uncomment the next line
#/wp-content/plugins
# All themes
#
# Note: If you wish to whitelist themes,
# uncomment the next line
#/wp-content/themes
# ---> Node
# Logs # Logs
logs logs
*.log *.log
@ -179,3 +165,7 @@ dist
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*
# linting files
.eslintrc
.stylelintrc.json