git commit - chapter 2

Here we have untracked files...

  1. It means we need to add these files using ..

git add.

git add file1.txt

  1. After

git add.

git status

it says, we need to commit it.

  1. To Check all The History

git log

  1. To make commit

git commit

At this moment, whenever you make any change it will track it and inform you, that this has been created and updated...

  1. Now to check the history

    Here, it shows, who made the commit and when and what with

    username, and email address. and what commit message he made on it.