Permalink
Browse files

git ignore files do not need to ignore ignoring themselves

To ensure the dir exists with git, a file is required - but it can be
completely empty.

Since the git ignore file is already in the repo it is not necessary to
not-ignore it - it is already tracked.

Though trivial these !.gitignore files are being understood by some to
mean that they must contain this exact syntax to ensure an empty folder
exists.
  • Loading branch information...
1 parent a0cf284 commit 875df4e9b598b869e52bd081a080419d30913930 @AD7six AD7six committed Nov 23, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −2 img/.gitignore
  2. +0 −2 js/mylibs/.gitignore
View
2 img/.gitignore
@@ -1,2 +0,0 @@
-!.gitignore
-
View
2 js/mylibs/.gitignore
@@ -1,2 +0,0 @@
-!.gitignore
-

0 comments on commit 875df4e

Please sign in to comment.