Session - Prework for a computer
Check if Git is already installed. Run the following in the Terminal (not the RStudio Console!)
which git
Check the version of your Git
git --version
If asked to install the Xcode command line tools, say yes! Right click to copy on a Terminal line
Installer hangs at 100%
If the installer hangs with the progress bar at 100%, close the installer with Task Manager (press Ctrl + Alt + Delete
;
select Task Manager;
find Git for Windows installer and close).
Tools > Global Options > Git/SVN
You may need to click Browse
and find the Git executable
Where to find the git.exe
It may be under C:\Users\username\AppData\Local\Programs\Git\
- remember if file extensions are hidden it will show as git rather than git.exe.
Restart RStudio before trying to use git.
Register a GitHub account at github.com.
Particularly for GitHub and your own account safety
Set up 2FA (two-factor authentication) using an app or save the generated code
The following packages are required for the course:
These slides were designed by Mine Çetinkaya-Rundel and Emma Rand for the Forwards Package development module course