---
url: https://relizy.dev/typedoc/type-aliases/MergePreviewSquashMode.md
---
[relizy](../index.md) / MergePreviewSquashMode

# Type Alias: MergePreviewSquashMode

> **MergePreviewSquashMode** = `"squash"` | `"commits"` | `"both"`

Defined in: [packages/relizy/src/core/merge-preview/squash.ts:14](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/core/merge-preview/squash.ts#L14)

How the merge of the pull request is computed: on the commit of a squash
merge, on the commits of the pull request (merge commit, rebase), or both
when the merge method is not known before the merge.
