Ignore some files in all repositories
There are some things which, IMO, never are stored in a repository unless by mistake.
To create a global ignore file:
git config --global core.excludesfile ~/.gitignore_global
Content of ~/.gitignore_global
:
.vscode
.idea