I've seen people adding .gitkeep, .keep files in empty directories on a Git repo and I just don't see why I would ever need to track en empty dir.
Can you mention some examples where that would be necessary?
Related
I've seen people adding .gitkeep, .keep files in empty directories on a Git repo and I just don't see why I would ever need to track en empty dir.
Can you mention some examples where that would be necessary?
Related
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.