Why would you track an empty directory with Git?

Viewed 566
4 Answers

I usually add a .gitkeep file in directories that must exists for my app to run properly (I avoid having to write code that checks their existence and their creation). For example, the directory that holds user avatars.

Related