git update-index --assume-unchanged <file>
git update-index --no-assume-unchanged <file>
git ls-files -v | grep "^[[:lower:]]"
temp ignore file changes
git config --global alias.hide '!git update-index --assume-unchanged'
# use it:
git hide file/path.ext
unhide file(s)
git config --global alias.unhide '!git update-index --no-assume-unchanged'
# use it:
git unhide file/path.ext
unhide all
git config --global alias.unhideAll '!git update-index --really-refresh'
# use it:
git unhideAll
check ignored files
git config --global alias.hidden '!git ls-files -v | grep "^[[:lower:]]"'
# use it:
git hidden