Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,215
Community Members
 
Community Events
168
Community Groups

Why my branch is not under "feature"?

Edited

I have a project on a "Develop" branch.

When using "Git-flow" in the past, I got a new branch called "feature" and under feature the name of the branch I've created.

Lately when on "develop" (develop is checked out), and I choose "git-flow" the options show:

Finish feature

Other options

 

I choose other options and create a new branch. The newly created branch is not under "feature" but in the same hierarchy as the "develop" branch.

 

My other team mate when she check out develop and click Git-flow she has options:

Create new feature

etc..

and when she creates a new branch it is under "feature"

 

All my repositories immediately suggest I "finish feature" when "git-flow" on develop...

WHY??

How can I fix that?

 

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 14, 2019

Hello!

It sounds like your git-flow config might be invalid. Could you post the contents of your 'config' file under "YOUR_REPO/.git"? It should look something like this:

[gitflow "branch"]
master = master
develop = develop

[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =

Hello,

 

It looks like that:

Should I assign the string manually?

GitConfig.PNG

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events