Skip to content
The missing "git flow clone" command for use with Gitflow repositories.
Find file
Latest commit dd3d310 Arild Shirazi Keeping track of version and release notes.
At some point I will make programmatic use of that version number.


Clone a git repo with support for the gitflow branching model.

git flow clone [-p] <repo> [<dir>]

Everyone who ever clones a git repo that uses the gitflow model will immediately want to:

  • setup a remote tracking "develop" and "master" branches
  • initialize the repository as a Gitflow repo


Working on a homebrew installation. Otherwise

$ make install


$ git flow clone
Cloning into 'projectname'...
Branch develop set up to track remote branch develop from origin.
Using default branch names.
Gitflow repo cloned to projectname

$ cd projectname
$ git branch
* develop


Let me know how it's working for you.

Something went wrong with that request. Please try again.