Get git to track empty directory

Posted in Articles

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

Git does not track empty directories.  In order to get git to track empty directory, you have to put a file in there.  By convention, people put a file .gitkeep.  The file can be empty.