Skip to content

Instantly share code, notes, and snippets.

@markdrzy
Created November 15, 2012 14:25
Show Gist options
  • Save markdrzy/4078858 to your computer and use it in GitHub Desktop.
Save markdrzy/4078858 to your computer and use it in GitHub Desktop.
A handy .gitignore to track empty directories--useful for cache directories.
# Exclude everything in this directory...
*
# ... except the .gitignore file.
!.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment