Have common files you don't want to version in any projects? -- put them in a global gitignore file! I don't know about you, but I'm sick of adding
.vscode to gitignore files on a per-project basis.
Run the following command in your terminal:
git config --global core.excludesfile ~/.gitignore_global
Now you can edit the
~/.gitignore_global file just like any other, but it will apply everywhere.
Take a look at my global gitignore file to see if any of those would help you.