title: Git log format string
category: Git
layout: 2017/sheet
-updated: 2018-11-07
+updated: 2017-10-18
weight: -1
keywords:
- "git log --pretty=format:%H"
| Variable | Description |
| --- | --- |
-| `%cD` | committer date (rfc2882) |
+| `%cD` | committer date (rfc2822) |
| `%cr` | committer date (relative) |
| `%ct` | committer date (unix timestamp) |
| `%ci` | committer date (iso8601) |