How to use VS Code as your Git editor, difftool, and mergetool
Reply
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>