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.
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:
In other words, the path is always
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
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
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.
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:
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.
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.
[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG