writing a git ignore file code example
Example 1: gitignore folder
in .gitignore:
folder/
Example 2: how to git ignore a file
git config --global core.excludesfile ~/.gitignore_global
in .gitignore:
folder/
git config --global core.excludesfile ~/.gitignore_global