Back to Course
Using Git and GitHub with R
0% Complete
0/0 Steps
-
Welcome, Logistics, Course Materials, and Additional Resources
-
Introduction to Git and GitHubWhat is Git? What is GitHub?
-
Why Should You Learn to Use Git and GitHub?
-
Update Everything
-
GitInstall Git
-
Configure Git
-
Create a Local Git Repository
-
Commits
-
Commit History
-
GitHubGitHub Repositories
-
Connect RStudio and GitHub
-
Push an RStudio Project to a GitHub Repository
-
Pull a GitHub Repository to an RStudio Project
-
Keep RStudio and GitHub in Sync
-
Collaborating with Git and GitHubWhy Use GitHub vs Dropbox, Google Drive, Box, etc?
-
Dealing with Common Problems: Can't Pull Code from GitHub
-
Dealing with Common Problems: Merge Conflicts
-
Dealing with Common Problems: Can't Push Code to GitHub
-
Let's Keep Bad Things from Happening in the First Place
-
BranchesWhat are Branches and Why Should We Use Them?
-
Branch Names
-
How to Create Branches
-
Using Pull Requests to Merge a Branch Into Main
-
Project Management with GitHubGitHub Issues
-
How to Organize Issues
-
Wrapping UpOther Cool Stuff You Can Do with GitHub
Your Turn
- Create a new file called README.md in your
local-first
project and add text - Go to the Git tab and hit the commit button
- Check the staged button next to your new README.md file (and any other modified files)
- Add a commit message (e.g. “Add README file”)
- Click the commit button
You’ve now made your first commit!
Have any questions? Put them below and we will help you out!
You must be logged in to post a comment.
My README file didn’t save as an .md It automatically saved as .md.R Does this matter?
Hi Natasha,
Unfortunately, this does matter! Here’s a quick video to explain – https://muse.ai/v/SQg1Sic
Thanks,
Charlie
Thanks Charlie, that helps a lot. For some reason the R Script files wouldn’t allow me to change the extension. I would type is as “.md” but it would then revert to .R without allowing me to change it. The text file workaround made all the difference. Thank you!
Hi Natasha,
Are you on Windows by chance? Often Windows complicates the process of changing extensions whereas macOS is very happy to do so. I’m glad the text file is now working for you.
Cheers,
Charlie