gitignore_global - git Ignore only my settings

Git ignore locally files.

.DS_Store is only Mac user.
.vscode dir is only Visual Studio Code User.

$ git config --global core.excludesfile ~/.gitignore_global
$ vim ~/.gitignore_global

.vscode
.DS_Store