Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this 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

  1. Create a new file called README.md in your local-first project and add text

  2. Go to the Git tab and hit the commit button

  3. Check the staged button next to your new README.md file (and any other modified files)

  4. Add a commit message (e.g. “Add README file”)

  5. Click the commit button

You’ve now made your first commit!

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

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

Natasha Bennett

Natasha Bennett

May 3, 2022

My README file didn't save as an .md It automatically saved as .md.R Does this matter?

Charlie Hadley

Charlie Hadley

May 3, 2022

Hi Natasha,

Unfortunately, this does matter! Here's a quick video to explain - https://muse.ai/v/SQg1Sic

Thanks,

Charlie

Natasha Bennett

Natasha Bennett

May 3, 2022

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!

Charlie Hadley

Charlie Hadley

May 5, 2022

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