modified git ignore

This commit is contained in:
jorge-vitrubio 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 - ignore core, configuration, examples, uploads and logs.
# https://github.com/github/gitignore/blob/main/WordPress.gitignore
# ignore everything in the root except the "wp-content" directory.
#!wp-content/
# Core
#
# Note: if you want to stage/commit WP core files
# you can delete this whole section/until Configuration.
/wp-admin/
/wp-content/index.php
/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
# 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/
# Configuration
wp-config.php
# ignore these plugins
#wp-content/plugins/hello.php
# Example themes
/wp-content/themes/twenty*/
# ignore specific themes
#wp-content/themes/twenty*/
# Example plugin
/wp-content/plugins/hello.php
# ignore node dependency directories
node_modules/
# Uploads
/wp-content/uploads/
# Log files
# ignore log files and databases
*.log
*.sql
*.sqlite
# ignore local personal files
*.geany
.vscode/
.DS_Store
theme/
_gitignore*
# 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
*.log
@ -179,3 +165,7 @@ dist
.yarn/install-state.gz
.pnp.*
# linting files
.eslintrc
.stylelintrc.json