Reputation: 384
When creating a new project or upgrading an older one, should I conclude the .sass-cache directory in the repo? Since that is always changing and depends on the preprocessor to run wouldn't it be easier to ignore? What are the benefits of including the cache dirs?
Upvotes: 6
Views: 804
Reputation: 24478
No, you shouldn't include the directory. The general rule is to not include any files generated by some automated process from version control. Including generated files can make merging difficult, adds spurious diffs into commits, and can make your repository awkward to browse, to give a few reasons.
(There are some notable exceptions, like including db/schema.rb
or Gemfile.lock
for Rails projects.)
Upvotes: 10