My custom format for "git log"


git log "--pretty=format:%h %as %aN %s"

Notes

  • %ae - author email
  • %aE - author email (w/lookup in .mailmap)
  • %ai - timestamp in ISO8601
  • %aL - author email w/o domain
  • %al - author email w/o domain (w/lookup in .mailmap)
  • %an - author name
  • %aN - author name (w/lookup in .mailmap)
  • %as - short date
  • %cn - committer name
  • %cN - committer name (w/lookup in .mailmap)
  • %h - short hash
  • %s - subject

Date: 2021-02-23

Tags:  git

Share: