I have some files that are part of a project that have some minor modifications from their source in the repository to control settings specific to my development environment.
They are constantly listed as "modified" and are always left unstaged.
These files do not belong in a .gitignore, as far as I am aware, since they belong in the repository. I would like git to basically ignore the fact that they have been modified.
This must be a common scenario, and I am looking for the best-practice way to handle it.
Thanks!
pre-committo implement it. But of course it's not so convenient as the exclude or ignore way. Just FYI. But it does work after you have added these files into the git repo.