scenario: Your team has ~/.vscode/settings.json committed to the repo for reasonable reasons (extensions, etc). You wish to use something like peacock but don't want to force your colors on the whole team.
Fix:
git update-index --skip-worktree .vscode/settings.jsonUndo:
git update-index --no-skip-worktree .vscode/settings.json