Skip to main content

automerge_method

Configuration

name: automerge_method
type: string
default: "merge"
{
"name": "company/project",
"extra": {
"violinist": {
"automerge_method": "merge"
}
}
}

Indicates which merge method should be used when using automerge.

Note! This option currently does not work with Bitbucket.

Explanation

When violinist opens a merge request which enables automerge, the UI for the supported providers will allow you to select which method should be used for merging. The three options are merge, rebase or squash. If you leave this blank, violinist will use the default, which is merge.

Example

If you want Violinist merge requests to be merged using the squash method you would simply set your configuration to indicate this. For example like so:

{
"name": "company/project",
"extra": {
"violinist": {
"automerge": "1",
"automerge_method": "squash"
}
}
}

If you either leave this option blank, or speficy an invalid option, the default option merge will be used.