バージョン管理したくないファイルやディレクトリを指定します。
.git/info/exclude
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
# 開発環境
## mac用
.DS_Store
## PhpStorm用
/.idea
## AdelieDebug
/html/preload/AdelieDebug*
# XOOPS共通
/html/mainfile.php
/html/cache/*
/html/templates_c/*
/html/uploads/*
/xoops_trust_path/cache/*
/xoops_trust_path/templates_c/*
/xoops_trust_path/uploads/*
/xoops_trust_path/tmp/*
/xoops_trust_path/log/*
/xoops_trust_path/session/*
/xoops_trust_path/modules/protector/configs/*
# TOKYOPen共通
/xoops_trust_path/file/*
/html/settings/definition.custom.php
# プロジェクト
/xoops_trust_path/modules/hoge/tmp/*