Git: log

Git Log command is very useful to manage the version of the project.

In order to check the commit history of the project, you can use the command.

$ git log

image.png When you use the below command, you can check a simple version.

  • $ git log --oneline // newest
  • $ git log --oneline --reverse // oldest

image.png

In order to check the difference and change of files, you can use the command. $ git log --patch or $ git log -p

image.png

Reference: Git