Skip to content

Instantly share code, notes, and snippets.

@jbinto
Last active November 27, 2025 18:01
Show Gist options
  • Select an option

  • Save jbinto/9e50a02d245e56c3036372f2c35adde3 to your computer and use it in GitHub Desktop.

Select an option

Save jbinto/9e50a02d245e56c3036372f2c35adde3 to your computer and use it in GitHub Desktop.
don't commit .vscode/settings.json

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.json

Undo:

git update-index --no-skip-worktree .vscode/settings.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment