Monday, June 12, 2017

Track Empty Directories with git #lzodevelopment



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.

from #lzodevelopment http://ift.tt/2qxBHQi
via freelance WordPress developer

No comments:

Post a Comment