Why isn’t my updated .gitignore working for files that are being tracked?

The files are already stored in your local commit tree. You’ll need to first remove them from the repository. This can be done via:

git rm --cached system/application/config/config.php modules/recaptcha/config/recaptcha.php

After that you’ll need to make one more commit and you’re good to go.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)