Articles → GIT → How to check the commit logs in git

How to check the commit logs in git






Commit logs




git log



Click to Enlarge


Get the list of top 10 logs




git log  --pretty=oneline | tail -n 10





Get the list of logs in reverse order




git log  --pretty=oneline --reverse



Get the list of files committed




git log –summary



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, June 26, 2019
 
Updated On  -  Friday, October 11, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250