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. Add some additional text to your README.md

  2. Commit your changes (make sure to stage your README.md file and add a commit message)

  3. View the history of your repository

  4. Make sure you understand the commit history (top section) and the diff (bottom section)

  5. View your README.md at a previous commit by clicking on “View file …”

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

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

Hi David, for some reason when I create the README file and then change/add the text and hit 'commit' again, my README file isn't there to stage. I've tried deleting the local-first project, creating a new one and starting over, and I get the same issue.

David Keyes

David Keyes

October 19, 2021

Can you try editing the README file a bit (just add some random text) and see if it shows up then?

I did try, and I saw it and was able to hit commit and 'stage' it with a comment. But later when I wanted to add more text and hit commit again to continue testing it out, it was gone again from being able to stage.

David Keyes

David Keyes

October 19, 2021

Are you sure that you saved your file before hitting commit? It will only show files ready to be staged that have already been saved.

Thanks, David! Once I hit save that seemed to fix it.

David Keyes

David Keyes

October 20, 2021

Glad you got it figured out!