We can remove tracking of git for some file using below comment .
git update-index --assume-unchanged <file full path>
To track the file again we can use below comment
git update-index --no-assume-unchanged <file full path>
Now let us look How we can list all the files who is included in no-assume
We can type below comment in terminal
git ls-files -v
It will list like
H file 1 H file 2 h file 3 h file 4
Here we can see first character as capital or lower for some file.
If the first character is lowercase, it is marked as “assume unchanged”, else it is marked as “assume changed”
We can simply list all the “assume unchanged”files using below comment.
git ls-files -v | egrep -r "^h .*"
it will list only “assume unchanged” file list
h file 3 h file 4
1,985 total views, 3 views today