git if any changes 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>
git update-index --assume-unchanged <file>
git rm --cached <file>