What is the use of GIT .cache folder and do i need to ignore it in .gitignore file? As it is creating hundreds of untracked files. is .cache locally relevant or should i commit it to git?
What is the use of GIT .cache folder and do i need to ignore it in .gitignore file? As it is creating hundreds of untracked files. is .cache locally relevant or should i commit it to git?
As torek mentioned, Git doesn't create a folder named .cache. This folder is created by some other tool, which in this case is probably Visual Studio.
However, in general, caches are discardable and exist solely for performance; they can be rebuilt from other data. Since you should not check in any build artifacts or temporary data to your repository, it's probably best to ignore the .cache folder (and if you have any, the bin and obj folders as well).