`git flow release finish` non-interactively

前端 未结 7 581
一个人的身影
一个人的身影 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:44

    git flow is (more or less) just a wrapper around git commands. Pop open the git-flow-*.sh of your choice, copy the git commands, and then mess with them. In this case, add --no-edit to git merge. This approach kills two birds with one stone: you can just copy these lines into your automation script.

提交回复
热议问题