syntax to view log in git code example Example: git view entire log git reflog | awk '{ print $1 }' | xargs gitk