Created
December 4, 2012 18:33
-
-
Save astrotars/4207260 to your computer and use it in GitHub Desktop.
Allows for empty directory in GIT repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore everything in this directory | |
* | |
# Except this file | |
!.gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place a .gitignore file with the contents above into your empty directory (e.g. /uploads or /tmp). Make sure that your directory has the necessary permissions before committing.