gitignore file

use gitignore file exclusive files and folders

Note: gitignore only exclusive un-tracking file

globle config

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

locale config

In Terminal, navigate to the location of your Git repository.

touch .gitignore

example

# OS X
.DS_Store