git flow branches have diverged

What happens here is that the remote has received updates, and git-flow requires that develop and origin/develop to be at the same commit before merging back the feature. This is to prevent bad conflicts when publishing the branch. To solve this, you need to: sync your local develop with origin: checkout develop, and pull from … Read more

Sourcetree – upgraded to latest version, git-flow missing

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 … Read more

Is there a command to undo git flow init?

You can do what @Peter said from the command line too! Those commands remove all the sections of the git config file related to gitflow. git config –remove-section “gitflow.path” git config –remove-section “gitflow.prefix” git config –remove-section “gitflow.branch” Then you can re-init gitflow as usual. git flow init

Following git-flow how should you handle a hotfix of an earlier release?

It seems that there is a concept of a “support” branch in git flow. This is used to add a hotfix to an earlier release. This thread has more information, with these examples: git checkout 6.0 git checkout -b support/6.x git checkout -b hotfix/6.0.1 … make your fix, then: git checkout support/6.x git merge hotfix/6.0.1 … Read more

What are the pros and cons of git-flow vs github-flow? [closed]

As discussed in GitMinutes episode 17, by Nicholas Zakas in his article on “GitHub workflows inside of a company”: Git-flow is a process for managing changes in Git that was created by Vincent Driessen and accompanied by some Git extensions for managing that flow. The general idea behind git-flow is to have several separate branches … Read more