0:00
After adding our index file to the staging area, we want to commit it
0:04
Now commit is like a checkpoint. Think of a video game. When you commit a level, your game is saved on some checkpoint
0:12
Now watch this. To commit this file, I will write get commit m and then some message
0:19
Let's say first version of index. Hit enter. Now if I say get status, it says nothing to commit
0:30
Now let's say I made some changes in my index.html file again
0:35
If I write get status again, it says that index.html has been modified
0:41
So I will stage it by writing get add index.html and then I will commit it something like this
0:53
Now if I write get status again, as you can see, we have nothing to commit