Q . undo git update-index --assume-unchanged <file>

Asif Anjum. asked, Jun 29 ' 2016

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

git update-index --assume-unchanged 

Now how do you undo it so they are watched again? (lets call it un-assume)

  • git
  • git-update-index

1 Answers

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'
 

Leave a Ansewer