LoginSignup
6
7

More than 5 years have passed since last update.

EC-CUBE 用の.gitignore

Posted at

自分用.gitignore

EC-CUBE を新規でインストールすると、割と空のディレクトリが多いのでそのあたりがちょっと面倒だったりしますね。

あとキャッシュ的なのが大量に増えるので、共有したくないものとかありますね。
/data/Smarty/templates_c/* とか……

/ のあとに*で、中のファイルだけを対象にしちゃってます。

ありがちな不要ファイルも含めてしまっています。

案件固有の追加ディレクトリなんかがあると書き足していく感じです。

.gitignore
*_backup_*
.LCK
*~
.DS_Store
Thumbs.db
ehthumbs.db
Desktop.ini
*.lnk
_notes
dwsync.xml
*.swp
*.log
sitemap.xml
sitemap.xml.gz
/readme.html
/license.txt
/html/.htaccess
/data/.htaccess
/data/config/config.php
/data/cache/*
/data/config/*
/data/download/temp/*
/data/downloads/api/*
/data/downloads/backup/*
/data/downloads/module/*
/data/downloads/plugin/*
/data/downloads/tmp/plugin_install/*
/data/downloads/tmp/plugin_update/*
/data/downloads/update/*
/data/logs/*
/data/Smarty/config/*
/data/Smarty/templates_c/*
/data/upload/csv/*
/html/install/temp/*
/html/plugin/*
/html/upload/graph_image/*
/html/upload/mobile_image/*
/html/upload/temp_image/*
/html/upload/temp_plugin/*
/html/upload/temp_template/*
/html/user_data/include/preview/*
/html/user_data/packages/default/js/*
/html/user_data/templates/preview/*
!.gitignore
!.gitkeep
6
7
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7