第 3 章 Git and Github

https://happygitwithr.com/

3.1 Git and R

  1. Install git

  2. Under RStudio terminal $ which git to obtain the recognized path to your git installation.

  3. Copy that path to RStudio::Tools-> Global Options… -> Git/SVN -> git executable

  4. Continued from 3; then Create RSA key.

3.2 Introduce yourself to git

library(usethis)
use_git_config(user.name = "Jane Doe", user.email = "jane@example.org")