Git - File versioning system

Generel commands for working with git

Git configuration

Ignore files globally

Create .gitignore_global in your home folder. Run this echo .DS_Store >> ~/.gitignore_global - to create .gitignore_global file in your home folder and exclude all .DS_Store files.

Run git config --global core.excludesfile ~/.gitignore_global for git to use it for all repositories. You need to run this everytime you update .gitignore_global