git

Investigating Gitignore

A few days ago, I was working on a side project and wanted to hide a few files from Git. In the process, .gitignore caught my eye, and I started digging deeper into it. .gitignore ignores files or directories but doesn’t hide them, but how? Let’s investigate! A .gitignore file is used to specify …