Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should .nyc_output be included in .gitignore?

Do we need to include .nyc_output or should we just put that directory in .gitignore

like image 796
Ole Avatar asked Jun 21 '18 04:06

Ole


1 Answers

Yes, it should be included in the .gitignore; because, it is an intermediate cache of data that is used for when you eventually run nyc report.

As an intermediate store, you don't wan to track the contents; because, they are not actually the "source". Source control systems do much better when they only track true sources, and don't attempt to revision intermediate files.

like image 126
Edwin Buck Avatar answered Sep 24 '22 00:09

Edwin Buck