I have files that are generated on a regular basis (CSS files from Less). The content is the same but the file is considered different/changed by Git.
It's probably because the date of creation/modification has changed, but I'm wondering how can I avoid committing these files?
I need them on the repository, but I don't want to commit them when the content hasn't changed.
Edit:
Solution found here: Git flag non-modified files as modified when generated by LESS or if line separator has changed