ArthurArmand
ArthurArmand

Reputation: 21

Branch git flow, start, which branch?

So i created a git flow with the command "git flow init".

I'm on develop.

If i do "git flow start feature MY_FEATURE", it's duplicate develop for a feature.

"git flow start feature MY_FEATURE-2" duplicate develop or the branch current?

Thanks you.

Upvotes: 0

Views: 359

Answers (1)

Martin_0
Martin_0

Reputation: 145

"feature start" will always automatically create a feature-branch from the develop-branch called feature/. "feature finish" will merge the feature-branch back into the develop-branch and delete the feature-branch afterwards.

That's the way this convention works

Have a look at this graphic for better understanding

How feature-branches in gitflow work

Upvotes: 1

Related Questions