Undo git update-index --assume-unchanged <file>

adardesign picture adardesign · Jun 19, 2013 · Viewed 147.5k times · Source

The way you Git ignore watching/tracking a particular dir/file. you just run this:

git update-index --assume-unchanged <file>

Now how do you undo it so they are watched again? (Let's call it un-assume.)

Answer

adardesign picture adardesign · Jun 19, 2013

To get undo/show dir's/files that are set to assume-unchanged run this:

git update-index --no-assume-unchanged <file>

To get a list of dir's/files that are assume-unchanged run this:

git ls-files -v|grep '^h'