Instructor Notes

This is a placeholder file. Please add content here.

Introduction to Version Control and GitLab


Using git in RStudio


Instructor Summary



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


Syncing your project with GitLab