修改gitignore
cp config.php config.php.template
git add -f config/config.php.template
git rm --cached config/config.php
commit 即可
修改gitignore
cp config.php config.php.template
git add -f config/config.php.template
git rm --cached config/config.php
commit 即可