21 Version control

21.1 Happy Git and GitHub for the useR

Jenny Bryan, the STAT 545 TAs, Jim Hester

Happy Git provides opinionated instructions on how to:

Install Git and get it working smoothly with GitHub, in the shell and in the RStudio IDE. Develop a few key workflows that cover your most common tasks.Integrate Git and GitHub into your daily work with R and R Markdown.

The target reader is someone who uses R for data analysis or who works on R packages, although some of the content may be useful to those working in adjacent areas.

https://happygitwithr.com/

21.2 Github actions with R

Chris Brown, Murray Cadzow, Paula A Martinez, Rhydwyn McGuire, David Neuzerling, David Wilkinson, Saras Windecker

GitHub actions allow us to trigger automated steps after we launch GitHub interactions such as when we push, pull, submit a pull request, or write an issue.

https://ropenscilabs.github.io/actions_sandbox/

21.3 Github learning lab

Not R specific or even a book, but looks like a good resource to learn git.

https://lab.github.com/