I've locally changed my .vscode/settings.json (added some user vocabulary). I don't want to merge this to the shared repo, but it's annoying me because git keeps tracking it.
I don't want to edit .gitignore because I would also have to make the push to the shared repo.
I tried using the --assume-unchanged flag but it's not working:
git update-index --assume-unchanged .vscode/ returns:
Ignoring path .vscode/.
But when I log git status afterwards, I still get
Untracked files:
  (use "git add <file>..." to include in what will be committed)
    .vscode/
If I try with git update-index --assume-unchanged .vscode/settings.json, I get fatal: Unable to mark file .vscode/settings.json.
Any ideas on how to solve this?
