Connect RStudio and GitHub
This lesson is called Connect RStudio and GitHub, part of the Using Git and GitHub with R course. This lesson is called Connect RStudio and GitHub, part of the Using Git and GitHub with R course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Create a GitHub personal access token (PAT) using the
create_github_token()
function from theusethis
packageRegister your PAT using the
gitcreds_set()
function from thegitcreds
package
Have any questions? Put them below and we will help you out!
Course Content
26 Lessons
1
Why Use GitHub vs Dropbox, Google Drive, Box, etc?
03:15
2
Dealing with Common Problems: Can't Pull Code from GitHub
08:05
3
Dealing with Common Problems: Merge Conflicts
05:24
4
Dealing with Common Problems: Can't Push Code to GitHub
04:38
5
Let's Keep Bad Things from Happening in the First Place
02:45
You need to be signed-in to comment on this post. Login.
Juan Clavijo • October 21, 2021
If I set the token to expire in 7 days, will I need to do this process again in 7 days?
Michael Bedan • March 12, 2023
Do I use the same PAT on multiple computers? I have two laptops I use regularly when I am using R and I want to access the same projects.
Alberto Cabrera • July 2, 2024
A year ago, I relied on SSH to link RSudio to GitHub. I've got a long SSH key as well as an identifyFile ~/.ssh/id_ed255519. I also had to set up an SSH password. Do I need to reset this option using PAT instead?
Sorry for asking dumb questions. But navigating this Git process has been daunting for me.
David Keyes Founder • July 2, 2024
No need to do anything with the SSH key you created previously. You can just use the PAT moving forward.