Git - Log (Commit History)

About

Git has two log:

  • the log
  • and a short log

Snippet

Last commit HEAD

The last commit of the current branch (the HEAD)

git log -n 1

Log

git log --format=fuller
git log --pretty=oneline

Shortlog

  • Commit by commiter
git shortlog -s -n 

Visual

Documentation / Reference


Powered by ComboStrap