Tuesday, April 7, 2015

Adding empty folders to git

Create a .gitignore file in a directory and add the following 4 lines in it.

# Ignore everything in this directory
*
# Except this file
!.gitignore