Last Updated: February 25, 2016
·
6.364K
· 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