Finish Feature not finishing
Asked by MaxHeadroom:

Sourcetree Version 2.3.5.0

Hi

I am a solo Web developer and use GIT and Sourcetree to keep track of my changes.

I use Master branch for updating and obviously Development for changes.

I mainly use origin (Bitbucket) for back up.

While developing, my plan is to make features to test and add changes, if it works, I want to push it back to development and after testing, merge with Master which I will load to live site.

Creating features works, but I can not get them to finish and merge back to Development.

Sourcetree just hangs trying to finish the tree. No errors, nothing. It just shows running screen but never finish. If I create a new feature and then finish it, it works. If I make changes and commit, it just hangs.

Any help would be appreciated, I really want to use the feature. Sorry for the TL;DR

Attached you will find a screen shot of my tree as well as my git config.

![sourcetree.JPG](/t5/image/serverpage/image-id/10507i4233FC31083148D7/image-size/large?v=v2&px=999 "sourcetree.JPG")

And my git config:

\[core\]  
repositoryformatversion = 0  
filemode = false  
bare = false  
logallrefupdates = true  
symlinks = false  
ignorecase = true  
hideDotFiles = dotGitOnly  
\[gui\]  
wmstate = normal  
geometry = 887x427+156+156 199 192  
\[remote "origin"\]  
url = \[REMOVED FROM TEXT\]  
fetch = +refs/heads/\*:refs/remotes/origin/\*  
\[branch "master"\]  
remote = origin  
merge = refs/heads/master  
\[gitflow "branch"\]  
master = master  
develop = development  
\[gitflow "prefix"\]  
feature = feature/  
release = release/  
hotfix = hotfix/  
versiontag =  
\[user\]  
name = \[REMOVED FROM TEXT\]  
email = \[REMOVED FROM TEXT\]  
\[branch "development"\]  
remote = origin  
merge = refs/heads/development  
\[pack\]  
buildbitmaps = false  
\[gitflow "branch.feature/single_dealer"\]  
base = development  
\[gitflow "branch.feature/Car_import_V2"\]  
base = development  
\[gitflow "branch.feature/auction_processing"\]  
base = development  
\[branch "feature/auction_processing"\]  
remote = origin  
merge = refs/heads/feature/auction_processing  
\[gitflow "branch.feature/car_search"\]  
base = development  
\[branch "feature/car_search"\]  
remote = origin  
merge = refs/heads/feature/car_search


Answers:
author: MaxHeadroom
body: Updated embedded GIT. had error extracting, but it done it.

Did another test, now it works.

Thanks so much!

Q..

comments: author: Md Rubel Miya
body: Hi,

Congrats! you could solve the issue. I am also having the same problem, but I could not fix it. Can you help me to solve the issue please. I would appreciate your help. Thanks in advance.


author: MaxHeadroom
body: All I did was to update my GIT version. See below


author: Md Rubel Miya
body: I have also tried after update the git version but it's still not working.

![Sketch_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/37418i1CB75DDCEE9F9D11/image-size/large?v=v2&px=999 "Sketch_3.png")


author: condor_jcdc
body: Try switching to System GIT


author: minnsey
body: Hi  

You said 'Sourcetree just hangs trying to finish the tree' can you explain a bit more about this?  

Is the tree the log view?  
Looking at the image you posted, I assume you think it is wrong, what are you expecting to see?  
How do you merge your feature branches?

comments: author: MaxHeadroom
body: Sorry, 'finish the tree' was the wrong wording. I meant finish the feature, using Git Flow.

The image is the log view, showing 2 branches with features just hanging, because I cant get them to finish.

These are my steps:

I commit devel

I then create a feature with Git flow. (from devel)

![start feature.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/10678iB19360E643363BCC/image-size/large?v=v2&px=999 "start feature.JPG")

Work on it and commit.

Now I want to close it and merge back to devel:

So I click on Git Flow, and then click finish the feature.

![feature close.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/10679iB4CE529C5236B027/image-size/large?v=v2&px=999 "feature close.JPG")

![feature close 2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/10680i7F9709AABB003139/image-size/large?v=v2&px=999 "feature close 2.JPG")

This is where the problem starts:

It hangs just doing this, noting else happens. No errors or anything. It just hangs there trying to complete the feature with the bar running the whole time

![Capture.JPGfeature close 3.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/10682i4AB75A6DE5E62FFF/image-size/large?v=v2&px=999 "Capture.JPGfeature close 3.JPG")


author: minnsey
body: What version of git are you running, see the Tools/Options/Git tab


author: MaxHeadroom
body: ![git version.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/10684i812DA81F26C969F2/image-size/large?v=v2&px=999 "git version.JPG")


author: minnsey
body: Ah you will need a 2.x version of Git preferably 2.18 or higher.