Git Commit empty directory #78


In this tutorial you will learn how to commit an empty directory in Git. In order to do this you will have to make a hack: commit a file located inside of the directory that you want to commit. Most of the time that file name is .gitignore. Remember that Git is a VCS used for tracking files and not directories. The directories are used just to structure the file system.

Code used during this tutorial:

Useful links:
http://stackoverflow.com/questions/115983/how-can-i-add-an-empty-directory-to-a-git-repository