Instructor Notes
This is a placeholder file. Please add content here.
Introduction to Version Control and GitLab
Using git in RStudio
Instructor Summary
- Go to UW-Madison GitLab instance and login
- Create new project called
ratdat_lib_wksp
, private repo with README,
Instructor Note
You may want to give a short orentation to the different parts of the GitLab project webpage that seem relevant here: For example: - the file list - issues/merge requests on the left pane - project info on the right side (license, changelog etc)
Instructor Summary
- Create GitLab PAT
- Click settings in repo
- Project access token page
- Add new token -
work laptop
name or whatever you’d like, description blankdefault expiry, owner role, leave scoles unchecked - Create project access token
- Copy project access token to text file
- Setup project
- Return to main repo page
- clone using https
- Switch to RStudio
- New Rproject, version control with Git, paste URL, save on Desktop
- Authenticate with username and PAT (from text file)
- Show the project in R and describe the new files R added