Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree GitFlow keeps asking to finish feature Edited

I am using SourceTree v3.0.8 in Windows.  In SourceTree, when my current branch is 'develop' and I click on Git-flow in the toolbar, the pop-up dialog thinks develop is a feature branch and offers only to either 'Finish Feature' or 'Other Action' (ie, it doesn't offer to 'Start New Feature').

If I then click on 'Finish Feature', it pops up the Finish Feature dialog box with 'develop' in the Feature Name dropdown.  If I wait a few seconds, 'develop' disappears from the dropdown and the 'OK' button becomes disabled.  If I click on the Feature Name dropdown, the list is completely blank.

It seems to me that some configuration file is wrong, but I have no idea where or what that file may be.

Any suggestions?  Thank you in advance.

1 answer

1 accepted

5 votes
Answer accepted

Actually, shortly after posting the question, I have found the problem (it appears that it could be a bug in SourceTree in initializing GitFlow).

I looked at the .git/config file in my project and the '[gitflow "prefix"] section was as follows:

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

I then looked at the .git/config file in another project where Git Flow is working properly and that file was as follows:

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

When I copied that section over the top of the section in the config file in the project where Git Flow wasn't working, that fixed the problem.

So it seems that there may be a bug in SourceTree where it doesn't properly initialize gitflow in the config file.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,259 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you