Categories
GIT

Git Flow: Change a Release Branch to a Feature Branch

I just had an interesting experience where I accidentally started a release instead of a feature.  I didn’t realize it until I wanted to “finish” it.  That’s when I saw the release/…. branch name.

I figured, maybe if I just change the branch name, I would be fine.  And it looks like I was correct.

branch -m release/FEATURE123 feature/FEATURE123

and then, git flow feature finish FEATURE123

All was right with the world after that.