Gitflow: Release, remove a commit/feature ?



I am currently creating a release which is based off of 'develop' branch using the gitflow way of doing things. i.e. Repository, Start Release.


Now I have my release branch but it contains everything from develop, I need to remove 1 feature/commit as it must NOT go to the release.


How is this possible?


I have used gitflow many times before but this is the first time I am a little confused as what to do with the regards to removing a feature from the release.


I presume it is possible? And what happens to the commit/feature i remove, will automatically go into the new release ?


Any ideas ?



1 answer

0 vote

Once you are in the Release branch, can you reverse the 'bad' commit?

It wont remove the bad commit, but will create a new commit reversing the 'bad' one.

That reversing commit will then get merged back into 'develop' after you complete the release so you would, presumably, need to reverse the reverse? 

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot