how to add things to a gitignore file code example
Example 1: how to git ignore a file
git config --global core.excludesfile ~/.gitignore_global
Example 2: what is add.gitignore
The purpose of gitignore files is to ensure that certain files not tracked by git remain untracked.