gitingore file code example
Example 1: .gitignore
node_modules
.DS_Store
.env
Example 2: how to git ignore a file
git config --global core.excludesfile ~/.gitignore_global
node_modules
.DS_Store
.env
git config --global core.excludesfile ~/.gitignore_global