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

Update and fix WordPress gitignore

上级 7ab549fc
# ignore everything in the root except the "wp-content" directory. # Wordpress - ignore core, configuration, examples, uploads and logs.
!wp-content/ # https://github.com/github/gitignore/blob/master/WordPress.gitignore
# ignore everything in the "wp-content" directory, except: # Core and configuration
# "mu-plugins", "plugins", "themes" directory /wp-admin/
wp-content/* /wp-content/index.php
!wp-content/mu-plugins/ /wp-content/plugins/index.php
!wp-content/plugins/ /wp-content/themes/index.php
!wp-content/themes/ /wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
# ignore these plugins # Example themes
wp-content/plugins/hello.php /wp-content/themes/twenty*/
# ignore specific themes # Example plugin
wp-content/themes/twenty*/ /wp-content/plugins/hello.php
# ignore node dependency directories # Uploads
node_modules/ /wp-content/uploads/
# ignore log files and databases # Log files
*.log *.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.
先完成此消息的编辑!
想要评论请 注册