---
url: https://relizy.dev/typedoc/interfaces/RawGitCommit.md
---
[relizy](../index.md) / RawGitCommit

# Interface: RawGitCommit

Defined in: [packages/core/src/types.ts:120](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L120)

A commit read from `git log`, before any parsing (see `getGitDiff`)

## Extended by

* [`GitCommit`](GitCommit.md)

## Properties

### author

> **author**: [`GitCommitAuthor`](GitCommitAuthor.md)

Defined in: [packages/core/src/types.ts:130](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L130)

The author of the commit

***

### body

> **body**: `string`

Defined in: [packages/core/src/types.ts:124](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L124)

The body, followed by the `--name-status` list of the files of the commit

***

### hash?

> `optional` **hash?**: `string`

Defined in: [packages/core/src/types.ts:128](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L128)

The full commit hash, read by `getGitDiff`: none for a commit built by hand (the simulated squash commit)

***

### message

> **message**: `string`

Defined in: [packages/core/src/types.ts:122](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L122)

The subject (first line)

***

### shortHash

> **shortHash**: `string`

Defined in: [packages/core/src/types.ts:126](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/types.ts#L126)

The abbreviated commit hash
