GIT: Ignoring the content of a folder

For the version control of my projects, I’m using GIT. Some of them have folder that I can ignore the files, which doesn’t need to be versioned, neither deployed.

If you need to ignore the whole content of a folder (files and sub-folders [empty / full]), create a .gitignore file and add the following line:

Save the file inside the folder you want to ignore the content.

Simple and useful tip…