提交 4d9d3fff 编写于 作者: P Pedro Machado Santa

Update and fix WordPress gitignore

上级 7ab549fc
# ignore everything in the root except the "wp-content" directory.
!wp-content/
# Wordpress - ignore core, configuration, examples, uploads and logs.
# https://github.com/github/gitignore/blob/master/WordPress.gitignore
# 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/
# Core and configuration
/wp-admin/
/wp-content/index.php
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.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/
# ignore log files and databases
# Log files
*.log
*.sql
*.sqlite
# htaccess
/.htaccess
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册