What does the basic git log command show you?
-
This is the simplest form of the command to show commit logs. The command takes you into a pager immediately.
$ git log
From the screenshot above you can see:
- The commit hash ID, a unique ID just for this commit.
- In parenthesis there is HEAD, meaning head of the current branch, followed by the tag for this commit.
- Author/Date, who and when it was created.
- The message the author used for the commit.
© Lightnetics 2024