Close

Git – Viewing past commits

Simply run:

Announcement

I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
git log

the log command has a huge number of options available:

git log -2 # means only show the last 2 entries

git log -p -2 # same as above but also show diff data.

git stat # shows info in a more summarised form.