Forráskód Böngészése

Merge pull request #1503 from LunicLynx/keep-cache-directories

add rule to keep track of directories ending in .Cache
Brendan Forster 10 éve
szülő
commit
0aee91babc
1 módosított fájl, 6 hozzáadás és 1 törlés
  1. 6 1
      VisualStudio.gitignore

+ 6 - 1
VisualStudio.gitignore

@@ -154,8 +154,13 @@ csx/
 # Windows Store app package directory
 # Windows Store app package directory
 AppPackages/
 AppPackages/
 
 
-# Others
+# Visual Studio cache files
+# files ending in .cache can be ignored
 *.[Cc]ache
 *.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
 ClientBin/
 ClientBin/
 [Ss]tyle[Cc]op.*
 [Ss]tyle[Cc]op.*
 ~$*
 ~$*