Some other basic commands, git log, git show, git diff.
View the history and information of commits
The git log command is used to review the history of commits and the information of each commit such as the author’s name, the commit date and the description of the commit.
View the contents of the committed file
The command git show + ID of the commit is used to view the file contents before editing and after editing the files that have been committed.
View the contents of the edited file but not committed
The git diff command is used to view the content before and after editing of files but has not been committed.
This post I temporarily stop here. In the following post, I will explain terms like Working dir, Staging area, Repository.
Have fun learning everyone offline.Keywords: Git