源代码树-升级到最新版本,缺少 git-flow

嘿,我刚刚在我的 Mac 上更新了 Sourcetree 的最新版本(2.2)。 Git-flow 去哪儿了?

我如何重新启用这个功能?

没有它我就失去了自我!

19731 次浏览

I have the same problem here, you can still use Git-Flow

  • From the menu: "Repository-> Git flow /HG flow -> Next action"

  • Using the hotkey: "++F.

But still not able to get the button back... :/

On the download page the button is also gone:
https://www.sourcetreeapp.com/

Alternative you can download the previous version here: http://downloads.atlassian.com/software/sourcetree/SourceTree_2.1.dmg https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.7.0.32509.exe


UPDATE:

The have a new version of SourceTree Mac v2.2.2(51) / Win: v1.8.2 and when you have this version you can customize you toolbar by clicking on the toolbar with your right mouse button. Then you can enable the git flow button.

Downloads:

Mac v2.2.2:
https://downloads.atlassian.com/software/sourcetree/SourceTree_2.2.2.dmg

Windows v1.8.2: https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.8.2.exe

The corresponding Windows version is 1.8.1.0.

The hotkey is Alt+Shift+F


UPDATE: It appears that Atlassian has pulled release 1.8.1.0. When you download now, you get version 1.7.0.

Jens Schumacher has just wrote that the git-flow button will be back in the next bugfix release. As for now, as others suggested, either roll back to a previous version, or use a hotkey (Alt+Shift+F for Windows, ++F for OS X).

Git-Flow button is back as of update 1.8.2.0. So this issue should be resolved: just update SourceTree and it will be back.

Here is what you can do if you have SourceTree v2.2.3. (I'm sorry but I don't have enough reputation points to attach the image)

Edit: Now I can upload the GIF, thanks!

Enabling Git-Flow button SourceTree - GIF Enable Git-flow button SourceTree

As many people say here, you can use the hotkey

  • for OSX ++F
  • for Windows Alt+Shift+F

But, also you can configure the toolbar to show the gitflow icon again. You just have to do a right click on the toolbar, select "customize toolbar..." and drag the icon back to the place it use to be. As simple as that.

I hope it helps.