check changed files in git repository code example
Example 1: how to avoid some files changes to not come in git status
git update-index --assume-unchanged <file>
Example 2: how to avoid some files changes to not come in git status
git rm --cached <file>