How can we see n most recent commits in GIT?

We can use git log command to see the latest commits. To see the three most recent commits we use following command:

git log -3

Leave a Reply

Your email address will not be published. Required fields are marked *