Track Empty Directories with git

There are times when you’d like to track an empty directory within git but there’s a problem: git wont allow you to add a directory that doesn’t have a file in it.  The easy solution is putting an empty stub file within the directory, and the industry standard for that stub file name is .gitkeep. You […]
The post Track Empty Directories with git appeared first on David Walsh Blog.

Link: https://davidwalsh.name/git-empty-directory