The basics to .gitignore

The .gitignore file tells Git which files and directories to ignore. These files are defined on each line as a pattern. Note that files already tracked do not get affected…