Skip to content
What's New in R is a weekly email to help you up your R game. Sign up →
R for the Rest of Us Logo

Using Git and GitHub with R

Dealing with Common Problems: Can't Pull Code from GitHub

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

  • Working in your local-first project in RStudio, make an edit to your README.md file, but do not commit your changes

  • Go to the local-first project on GitHub, make a change to your README.md file and save it (this will automatically commit your changes)

  • In RStudio, attempt to pull from GitHub, making sure you get the message about needing to commit your changes before pulling

  • Now commit your edits in the RStudio version of the local-first project

  • Pull again, making sure you can successfully bring in the changes from GitHub

Heads up: you should get a message about a merge conflict. We’ll deal with this in the next lesson!

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.