Git

Explain what the file gitignore is used for

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The purpose of gitignore files is to ensure that certain files not tracked by Git remain untracked. To stop tracking a file that is currently tracked, use git rm --cached.