3

My current git flow develop branch contains many features, I would like to make a release with just some of them, and remove some others, which will be released later.

Usually I would do:

 git flow release start 1.1.0

but this would branch from develop with all the features already merged.

How can I do that?

thanks

Don Giulio
  • 2,946
  • 3
  • 43
  • 82

1 Answers1

1

If you want to create release branch by removing functions from develop, revert merge commits.

Find merge commit which you doesn't need and get SHA1 value. Then

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

See also Remove a single merged branch from master branch

Community
  • 1
  • 1
shirakia
  • 2,369
  • 1
  • 22
  • 33