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

SourceTree 1.8 Git Flow not working

maha February 15, 2016

Hi,

i upgrade today to SourceTree 1.8. After that i can't create a new Feature. And a co-worker can't complete his feature. I seems that Gif Flow is broken.

I will try downgrade to 1.7.

Btw. Please add the Git Flow button to the navigation again.

Thanks Marco

 

24 answers

0 votes
Saray November 1, 2016

I have downloaded the latest version 1.9 and still facing the same issue. I can't finish my feature. Did anyone find a solution to this problem?

0 votes
Abderrezak May 21, 2016

Hi, I have the same problème, but just when I use the graphical acces

It work when I tape command, strange Noooo!!

eg: git-flow init -d

Because I'm not so good at command line, I hope someone tell me how to fx it. Thnx

0 votes
Lanre Abiwon March 10, 2016

Source Tree 2.2.3 and still no git flow feature.

0 votes
Chase Sandmann February 24, 2016

I can't use this version at all.  It doesn't recognize my built-in Git which has a bunch of critical settings, and I can't figure out where to add them to the "embedded git" for ST.  This is absolute garbage and I am utterly disappointed in Atlassian for ever accepting such trash in an official release of their product.

0 votes
Gert Driessen February 18, 2016

same issue.. I will wait for the fix

0 votes
Nickman February 18, 2016

Still no update?

0 votes
Roberto HDLL February 17, 2016

Wow, so, the current solution its unistall and install an old version...

0 votes
Nils Holmager February 17, 2016

Same issue here... reinstalled 1.7

0 votes
范绍勇 February 16, 2016

sh.exe C:\Users\FANSHAOYONG\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature start redux
完成时带有错误,见上文。

I have the same error~~

0 votes
Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2016

I wonder what kind of regression testing they use before release? It looks like there was no testing at all ...

 

0 votes
Jamie Anderson February 16, 2016

I've just got a notification from Atlassian regarding this:

The latest release of SourceTree for both Windows and OSX contains several bugs that were discovered after release. We have a new version of both apps going out in the next 24 hours which should address the following issues:
https://jira.atlassian.com/browse/SRCTREE-3395
https://jira.atlassian.com/browse/SRCTREE-3387
https://jira.atlassian.com/browse/SRCTREE-3402
https://jira.atlassian.com/browse/SRCTREE-3384
https://jira.atlassian.com/browse/SRCTREE-3400
https://jira.atlassian.com/browse/SRCTREEWIN-4167
https://jira.atlassian.com/browse/SRCTREEWIN-4177
https://jira.atlassian.com/browse/SRCTREEWIN-4238
https://jira.atlassian.com/browse/SRCTREEWIN-4182
https://jira.atlassian.com/browse/SRCTREEWIN-4192
https://jira.atlassian.com/browse/SRCTREEWIN-4169
https://jira.atlassian.com/browse/SRCTREEWIN-4230
https://jira.atlassian.com/browse/SRCTREEWIN-4207
https://jira.atlassian.com/browse/SRCTREEWIN-4301
https://jira.atlassian.com/browse/SRCTREEWIN-4200
https://jira.atlassian.com/browse/SRCTREEWIN-4331
https://jira.atlassian.com/browse/SRCTREEWIN-4348
https://jira.atlassian.com/browse/SRCTREEWIN-4219

In addition, we will also be bringing back the Git Flow button to the main top nav bar to both new versions. For OSX, you can access it by right clicking on the menu bar and selecting customize toolbar once the new version of the app has been installed.

It looks like a fix will arrive soon.

0 votes
Vladimir Baranov February 16, 2016

Same problem. Trying to start a feature.
SourceTree tries to run:

sh.exe C:\Users\<username>\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature start sales_pricing

and fails with quite unhelpful message:

Completed with errors, see above.

I tried to run this command from command prompt and saw that Windows can't find sh.exe.
I tried to add

C:\Users\<username>\AppData\Local\Atlassian\SourceTree\git_local\bin\

to PATH. Didn't help. SourceTree was still showing the same error.

When I tried to run this command from command line while in C:\Users\<username>\ folder, it ran and showed this message:

fatal: Not a git repository

I switched the current folder to the one that has .git in it and then it ran successfully and SourceTree picked up that there is a new feature created.

It seems that the new version of SourceTree is not setting the current folder properly when trying to run git flow commands.

0 votes
Jamie Anderson February 16, 2016

Atlassian have definitely introduced a bug here. They're trying to execute a file that doesn't exist.

Using Process Monitor from SysInternals (part of Microsoft), I can see that SourceTree is trying to run mingw32\bin\sh.exe. It's trying every directory in the PATH environment variable, but isn't able to find sh.exe to run it.

I've had a look for where copies of sh.exe might be, and have found:

  • SourceTree embedded Git (2.6.1): %localappdata%\Atlassian\SourceTree\git_local\bin\sh.exe
  • Git for Windows (1.9.5 and 2.7.1.2): %install_dir%\bin\sh.exe

In other words, the path is always %git_base_dir%\bin\sh.exe.

Also, when launching sh.exe, the full path to the executable should always be used. The current method is falling back to a search of the PATH, which is both inefficient and may result in the execution of a completely different sh.exe.

0 votes
thomasmuller February 16, 2016

Fixed by reinstalled version 1.7

0 votes
Michael Whitis February 16, 2016

Same problem as the OP.  "upgrading" to 1.7

 

0 votes
Justin Smith February 16, 2016

Nice one Atlassian! Thanks for the "upgrade" and wasting half an hour of my day.

0 votes
Renaat Meeuws February 16, 2016

Same problem.

"Fixed" by removeing source tree and reinstalled version 1.7

0 votes
fabiano1986 February 16, 2016

ERROR [2016-02-16 14:37:03,225] [1] [SourceTree.Bookmarks.BookmarkManager] [RegisterBookmarkEventHandlers] - RegisterAsRepositoryUpdatedEventHandler called with null repo

0 votes
wan February 16, 2016

Same here, can't finish my feature after updating to 1.8.

0 votes
maha February 16, 2016

@Brent Maxwell thanks for posting the error message. It's the same one i get.

 

0 votes
Jon Lowndes February 16, 2016

In case anyone else is having trouble with this, you can download the previous version from 
https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.7.0.32509.exe 

0 votes
Deleted user February 16, 2016

Here is the error I get in SourceTree:

sh.exe C:\Users\maxwellb\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature start <branchname>
Completed with errors, see above.
0 votes
Jon Lowndes February 16, 2016

I'm having the same issue. I'd usually use GitFlow to close my feature branch, but since the update it doesn't recognise that I have any feature branches.

0 votes
Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2016

Gitflow init and creating a hotfix does not work here

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events