How to compare two git branches and filter the differences by commit message?

后端 未结 3 476
陌清茗
陌清茗 2021-01-28 07:53

I have a release branch named release/X.X.X.X which contains all feature branches I want to deploy to production. The release branch is made on top of master<

3条回答
  •  天涯浪人
    2021-01-28 08:26

    you can use –G ‘regular expression’ to meet your requirement

    git log release/X.X.X.X ^master--no-merges -G ‘regular expression’ (include or exclude the specified commit)

提交回复
热议问题