For example we have local repository with .gitignore
content:
/.env.*.local
/public/bundles/
/var/
/vendor/
and global .gitignore
from git config
:
.idea/
setup_done.lock
As we can see in my global .gitignore
we have ignored directory .idea/
but repo comes with this directory and when I'm working in my IDE, it's making changes in these files and want to commit them.
Is it possible to "hard override" repo's .gitignore
and do not track changes in .idea/
directory?