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
    

    0_1548157096599_Screenshot 2019-01-22 at 11.36.43.png

    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.

Log in to reply
 

© Lightnetics 2024