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

SourceTree GitFlow cannot finish feature/hotfix

HugoMartinezJara June 13, 2019

I can´t finish a feature hotfix beacuse it disappears.. see the image below.

When loading finishes, the name of the feature/hotfix disappears.

pantallazo1.pngpantallazo2.png

Thanks in advance

6 answers

1 accepted

1 vote
Answer accepted
HugoMartinezJara June 17, 2019

The issue was the branch's name: Sourcetree didn´t include the word "feature/ or hotfix/" when I initialized Git flow. I had to init on cmd with git flow init -f again.

 

thanks

4 votes
Pascal BARBAULT July 11, 2019

I got same issue.

As far as I can check, root cause seems to be SourceTree "Git flow init" button fails setting gitflow prefixes.

My Git config was "empty":

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

 

Replacing with usual default setting (here after) fixed this issue at my end

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

 

Hope this can help,

Pedro Orozco October 29, 2019

this fix my error..thanks so much.!

0 votes
fabiano_citrone May 10, 2023

Hi, if the feature was created before the config file fix follow these steps:

1) fix file config:

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

2) restart sourcetree

3) rename your feature: from "myfeature" to "feature/myfeature"

4) click on "Git Flow" button

0 votes
Pepe January 12, 2020

Hi.

 

I'm having the same user as the reporter, at the beginning the hotfix is listed but after some seconds it disappears.

I'm using a new brand computer and I cloned my git from bitbucket, in my other PC it works ok.

I'm using version 3.3.6

 

I already did this: git flow init -f

 

And this:

Replacing with usual default setting (here after) fixed this issue at my end

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

0 votes
Noel Lin June 26, 2019

I have the same problem

$ git flow feature list
Fatal: Prefix parameter missing.
No feature branches exist.

You can start a new feature branch:

git flow feature start <name> [<base>]

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2019

Hello! This might be an issue on our end but as a work-around just click the "Terminal" button and run the following command:

git flow hotfix finish 1527-acceso-denegado

 

Before doing that, could you run the command that will list the possible hotfix names for gitflow and reply with the results?

git flow hotfix list

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events