# v1alpha1CommitMetadata

Type: object

CommitMetadata contains metadata about a commit that is related in some way to another commit.

Schema: [v1alpha1CommitMetadata](https://sourcey-argocd.pages.dev/api/models/v1alpha1commitmetadata/index.md)

- `author` (optional)
  Type: string
  
  Author is the author of the commit, i.e. `git show -s --format=%an <%ae>`.
  Must be formatted according to RFC 5322 (mail.Address.String()).
  Comes from the Argocd-reference-commit-author trailer.

- `body` (optional)
  Type: string
  
  Body is the commit message body minus the subject line, i.e. `git show -s --format=%b`.
  Comes from the Argocd-reference-commit-body trailer.

- `date` (optional)
  Type: string
  
  Date is the date of the commit, formatted as by `git show -s --format=%aI` (RFC 3339).
  It can also be an empty string if the date is unknown.
  Comes from the Argocd-reference-commit-date trailer.

- `repoUrl` (optional)
  Type: string
  
  RepoURL is the URL of the repository where the commit is located.
  Comes from the Argocd-reference-commit-repourl trailer.
  This value is not validated and should not be used to construct UI links unless it is properly
  validated and/or sanitized first.

- `sha` (optional)
  Type: string
  
  SHA is the commit hash.
  Comes from the Argocd-reference-commit-sha trailer.

- `subject` (optional)
  Type: string
  
  Subject is the commit message subject line, i.e. `git show -s --format=%s`.
  Comes from the Argocd-reference-commit-subject trailer.