]> source.dussan.org Git - gitignore.git/commitdiff
add rule to keep track of directories ending in .Cache
authorLunicLynx <LunicLynx@users.noreply.github.com>
Wed, 6 May 2015 09:04:53 +0000 (11:04 +0200)
committerLunicLynx <LunicLynx@users.noreply.github.com>
Wed, 6 May 2015 09:04:53 +0000 (11:04 +0200)
More Information
http://blogs.msdn.com/b/msbuild/archive/2008/02/11/what-s-up-with-xxx-sln-cache.aspx

VisualStudio.gitignore

index 57a1574c4f5ccee529831e15bdf01c373ea5a845..d65cbcd7efa0040e1c0610f362bffce32e49bde5 100644 (file)
@@ -150,8 +150,13 @@ csx/
 # Windows Store app package directory
 AppPackages/
 
-# Others
+# Visual Studio cache files
+# files endeing in .cache can be ignored
 *.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
 ClientBin/
 [Ss]tyle[Cc]op.*
 ~$*