Git Command Log

Log is a command we can use to see the commit history in our repo.

Terminal example:

git log
> Output:

commit 9d48c9f1b214e8002b7804cd47facd0691f09747 Author: Catto <> Date: Mon Apr 8 09:30:01 2013 -0400.

Some git log examples:

git log
`q` quit to get back to terminal shell prompt;
git log --oneline
# A nice flag for log
git log --pretty=format:"%h%x09%an%x09%ad%x09%s"
# some ASCII art
git log --graph --oneline --decorate --all
# search - need beter examles for this flag
git log -S
git log --all --simplify-by-decoration
# fun with flags:
git log --graph --oneline