I have some files committed (.idea) that should be in the normal checkout of the git project but then nobody is allowed to update those files further unless intentionally and explitly declaring to do so.
I add the directory to gitignore (/.idea
)
But git status keep saying modified file and wants me to commit and push those things in that directory.
I do not want to remove them in the git repo. Only to stop allowing further commits.
Is that possible?