Last Updated: February 25, 2016
·
6.358K
· klj613

How to make git keep empty directories

Create a file called .gitkeep - which is the standard.

foobar/.gitkeep

Use .keep if you want to be SCM agnostic