`git flow release finish` non-interactively

command-line, git, git-flow

Solution

You can set the environment variable

export GIT_MERGE_AUTOEDIT=no

git flow release finish -m 'Merge Message' release_branch_name

unset GIT_MERGE_AUTOEDIT

It won't invoke the editor for when you merge.

If you switch to my fork git-flow AVH Edition you can set this option to only work for when you use git-flow.

Problem

How I can use `git flow release finish` in a manner that doesn't ask for merge commit messages? The `-m` flag doesn't provide this, as I expected. The goal of course is to be able to script this in such a way that doesn't require interaction.

Original source