`git flow release finish` non-interactively

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

    You can pass the -m flag to specify a tag message on the command line.

    It is still possible for the merges to have conflicts, but the tag operation will not try to open an editor for the tag message.

    git flow release finish -m "my awesome release" 1.2.3
    

    https://github.com/nvie/gitflow/wiki/Command-Line-Arguments#git-flow-release-finish--fsumpkn-version

提交回复
热议问题