nicercode / EnvironmentalComputing

These are the R markdown files used to generate
http://environmentalcomputing.net/
Creative Commons Attribution 4.0 International
16 stars 5 forks source link

Don't commit file modifications to `static` unless really needed #32

Open dfalster opened 2 years ago

dfalster commented 2 years ago

Our new setup is awesome!

One niggly thing is that when a page is regenerated, any plots are saved as outputs in static (as png files). These maybe identical to previous, but still get detected as a change, and so git suggests a change.

Changes are also detected for .js

To keep the repo small (in size), I'd suggest not committing changes to these files in static, wherever you can avoid it. You do need to commit new files. But not updated (modified) files.

Would be nice to set up some sort of automated process for this.