`git flow release finish` non-interactively

前端 未结 7 580
一个人的身影
一个人的身影 2021-02-05 04:23

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.

<
7条回答
  •  我在风中等你
    2021-02-05 04:38

    Unfortunately there's no out-of-the-box way to achieve that with the current version of git-flow.

    By looking at the source code, the git command used to merge is

    git merge --no-ff
    

    and there's no way to pass the --no-edit flag to it.

    A couple of things you could do:

    • fork the project and insert this capability (possibly as an optional flag)
    • propose it as a feature and wait for the dev to implement it

提交回复
热议问题