Git log

When I am working with git, I find it useful to take a quick look at the log. The default

[shell light=”1″]
$ git log

command doesn’t show the actual modified/added/deleted files. You can use the following command for that:

[shell light=”1″]
$ git log –pretty –stat


$ git log –pretty=format:"[%h] %ae, %ar: %s" –stat

I found the latter in one of Alex Young’s tweets.

If you have any favorite git log formats, please feel free to mention them in a comment.

Leave a Reply