`git flow release finish` non-interactively

前端 未结 7 589
一个人的身影
一个人的身影 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 05:01

    I've finished doing it:

    git flow release finish -m "New release:$releaseVersion" -T
    $releaseVersion -S $releaseVersion
    

    where -m is the commit message, -T is tag message and -S is squash commit. Now everything is going to work automatically :)

提交回复
热议问题