List git commits in terminal

To get a pretty list of all your commit in your mac terminal use this command:

git log—pretty=format:”%h - %an, %ar : %s”

The list will look like this:

git commits

Leave a comment