Gitflow: Release, remove a commit/feature ?

Hi,

 

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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 ...

768 views 0 4
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