nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.63k stars 2.66k forks source link

Basing feature branches off of feature branches can lead to Fatal Error if user fails to finish branches in order. #6348

Closed josephmcasey closed 7 years ago

josephmcasey commented 8 years ago

I know this is an error on part of the user, but it seems like something that could easily be done accidentally. I'm sure there is also a manual solution to this of which I'm unaware.

What would be a reasonable resolution to this user error? A warning on unfinished feature branches based off a feature branch being finished?


git flow feature start alpha-feature (based off develop by default)

git flow feature start beta-feature feature/alpha-feature

git checkout feature/alpha-feature

git flow feature finish alpha-feature

git flow feature finish beta-feature

Fatal: The base 'feature/alpha-feature' doesn't exists locally or is not a branch. Can't finish the feature branch 'feature/beta-feature'.

osopolar commented 8 years ago

I would be interested in that too.

josephmcasey commented 7 years ago

Closing issue, dead issue.