content間違えてVCCWで自動生成されるファイルもご丁寧にgitignoreに突っ込んでなかったのでgitで無視させたら1,015,563行の削減ができた話WordPressGitVCCWえー、ヒッジョーにアホ臭い話なのですが、仕事でやってるWordPress案件をVCCWで回してまして、VCCWで自動生成されるコードを.gitignoreに追加してなかったので追加したら1,015,563行の削減ができたことをお知らせします。最初は.DS_Store.ansible.bundle.envrc.github/.idea/.travis.yml.vagrantnpm-debug.logpackage.boxplaybook.retry/wordpress/.htaccess/wordpress/sitemap.xml/wordpress/sitemap.xml.gz/wordpress/wp-config.php/wordpress/wp-content/advanced-cache.php/wordpress/wp-content/backup-db//wordpress/wp-content/backups//wordpress/wp-content/blogs.dir//wordpress/wp-content/cache//wordpress/wp-content/upgrade//wordpress/wp-content/wp-cache-config.php/wordpress/wp-content/ai1wm-backupsという.gitignore(多分最初こんな感じ)だったのですが、これをいろいろ自動生成されそうなものを追加していって.DS_Store.ansible.bundle.envrc.github/.idea/.travis.yml.vagrantnpm-debug.logpackage.boxplaybook.retry!*.gitignore/wordpress/.editorconfig/wordpress/.htaccess/wordpress/index.php/wordpress/license.txt/wordpress/readme.html/wordpress/sitemap.xml/wordpress/sitemap.xml.gz/wordpress/wp-activate.php/wordpress/wp-blog-header.php/wordpress/wp-comments-post.php/wordpress/wp-config-sample.php/wordpress/wp-config.php/wordpress/wp-cron.php/wordpress/wp-links-opml.php/wordpress/wp-load.php/wordpress/wp-login.php/wordpress/wp-mail.php/wordpress/wp-settings.php/wordpress/wp-signup.php/wordpress/wp-trackback.php/wordpress/xmlrpc.php/wordpress/wp-admin//wordpress/wp-content/advanced-cache.php/wordpress/wp-content/backup-db//wordpress/wp-content/backups//wordpress/wp-content/blogs.dir//wordpress/wp-content/cache//wordpress/wp-content/languages//wordpress/wp-content/plugins//wordpress/wp-content/themes/index.php/wordpress/wp-content/themes/twentyfifteen//wordpress/wp-content/themes/twentyseventeen//wordpress/wp-content/themes/twentysixteen//wordpress/wp-content/themes/twentynineteen//wordpress/wp-content/upgrade//wordpress/wp-content/ai1wm-backups//wordpress/wp-content/wp-cache-config.php/wordpress/wp-content/index.php/wordpress/wp-includes/node_modules/にしました。