UNPKG

@iyowei/cli-fast-gitignore

Version:

命令行工具,用来生成、更新 .gitignore 文件。 ’github/gitignore‘ 模板库已内嵌。

48 lines (39 loc) 849 B
# Wordpress - ignore core, configuration, examples, uploads and logs. # https://github.com/github/gitignore/blob/main/WordPress.gitignore # 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 # Configuration wp-config.php # Example themes /wp-content/themes/twenty*/ # Example plugin /wp-content/plugins/hello.php # Uploads /wp-content/uploads/ # Log files *.log # 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