Created
October 20, 2017 07:03
-
-
Save 1natsu172/f4e22ec1aa408cff5cf29327abee14a0 to your computer and use it in GitHub Desktop.
wp-attach-dev の .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
*.sql | |
npm-debug.log | |
# local by flywheelプロビジョンデータでいらないものignoreする | |
conf | |
logs | |
app/sql | |
# https://github.com/github/gitignore/blob/master/WordPress.gitignore の内容をlocal by flywheel用にパス変える | |
app/public/.htaccess | |
app/public/license.txt | |
app/public/readme.html | |
app/public/sitemap.xml | |
app/public/sitemap.xml.gz | |
app/public/*.log | |
app/public/wp-config.php | |
app/public/wp-content/advanced-cache.php | |
app/public/wp-content/backup-db/ | |
app/public/wp-content/backups/ | |
app/public/wp-content/blogs.dir/ | |
app/public/wp-content/cache/ | |
app/public/wp-content/upgrade/ | |
app/public/wp-content/uploads/ | |
app/public/wp-content/wp-cache-config.php | |
app/public/wp-content/plugins/hello.php | |
# ここまで | |
# themesの一部のみをgit管理するようにする | |
app/public/wp-content/themes/* | |
!app/public/wp-content/themes/index.php | |
# テーマ名は適宜変更する例(twentyseventeenのみ管理対象にしている) | |
!app/public/wp-content/themes/twentyseventeen | |
# !app/public/wp-content/themes/管理したいテーマフォルダ名 | |
# wp-attach-devの部分はgitcloneしてきたときのフォルダ名なので適宜変える必要があるかも | |
wp-attach-dev/.git | |
wp-attach-dev/.gitignore | |
wp-attach-dev/node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment