未验证 提交 7ea3e97f 编写于 作者: B Brian Douglas 提交者: GitHub

Merge pull request #3295 from pedrosanta/wordpress-update

Update and fix WordPress gitignore
# 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
#
# 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 these plugins
wp-content/plugins/hello.php
# Configuration
wp-config.php
# ignore specific themes
wp-content/themes/twenty*/
# Example themes
/wp-content/themes/twenty*/
# ignore node dependency directories
node_modules/
# Example plugin
/wp-content/plugins/hello.php
# ignore log files and databases
# Uploads
/wp-content/uploads/
# Log files
*.log
*.sql
*.sqlite
# 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
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册