Articles → GIT → How To Check The Commit Logs In GIT

How To Check The Commit Logs In GIT






Commit Logs




git log


Picture showing the list of commits on the repository
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


Picture showing the list of files committed in the repository
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