How to make a release by removing some features in a git stream

The current git flow branch develop

contains a lot of features, I would like to make a release with only some of them and remove some others that will be released later.

Usually I would do:

 git flow release start 1.1.0

      

but this will separate from develop

with all the functions already combined.

How can i do this?

thank

+3


source to share


1 answer


If you want to create a checkout branch by removing functionality from it, re-commit the merge.

Find the merge you don't need and get the SHA1 value. Then



git checkout release
git revert -m 1 <<SHA1 value>>

      

See also Remove one merged branch from master branch

0


source







All Articles