3

After doing update-index --assume-unchanged as answered in Stackoverflow: Ignore Tracked file, how can I list those files?

I have done that on many files and now I need a list so that I can undo the effect...

Robin Hsu
  • 4,164
  • 3
  • 20
  • 37

1 Answers1

14

To see which files have the "assume unchanged" bit set, use git ls-files -v.

See https://git-scm.com/docs/git-update-index#_using_assume_unchanged_bit.

A lowercase h indicates the file has "assume unchanged" bit set.

git ls-files -v | grep ^h

For other statuses, see the option -t.

ElpieKay
  • 27,194
  • 6
  • 32
  • 53