rstats-wtf / what-they-forgot

"What They Forgot to Teach You About R" website / eBook
https://rstats.wtf
Other
414 stars 83 forks source link

Data and version control #8

Open eamcvey opened 6 years ago

eamcvey commented 6 years ago

A question we discussed that might be nice to include in the future: can/should we version control our data in git/Github? If not, what are the other options?

angela-li commented 6 years ago

Seconded! Can there be a section on how to add subdirectories (i.e. /data) to .gitignore? Especially if the data is too large to be uploaded successfully to Github, or better not uploaded to Github.

krlmlr commented 6 years ago

"Small" data may well live on GitHub, but for anything larger than, say, 1MB, you want to find a better place. I have suggested using symlinks in https://github.com/jennybc/what-they-forgot/issues/13#issuecomment-362494469, which should also be added to .gitignore.