To ignore watching/tracking a particular directory/file:
git update-index --assume-unchanged <file>
To undo it and start watching the file again:
git update-index --no-assume-unchanged <file>
To ignore watching/tracking a particular directory/file:
git update-index --assume-unchanged <file>
To undo it and start watching the file again:
git update-index --no-assume-unchanged <file>