datasift/gitflow — pull request #5 by stuartherbert (2012-05-17 14:13:43+00:00)
Title: Better 'git flow init' command

* Fix: git flow init automatically creates local branches if remote branch
exists

For the 'master' and 'develop' branches used by git-flow, if there's
no matching local branch, but there is a REF to a matching remote
branch, git flow init now creates the local branch from the remote
branch.

This avoids the need to run 'git checkout master origin/master' before
running 'git flow init -d'.