Home > tips > Git log

Git log

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

$ git log

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

$ git log --pretty --stat

or

$ 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.

Categories: tips Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.