Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 875df4e9b598b869e52bd081a080419d30913930 1 parent a0cf284
@AD7six AD7six authored
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
-
Please sign in to comment.
Something went wrong with that request. Please try again.