项目作者: ashirazi

项目描述 :
缺少用于Gitflow存储库的“git flow clone”命令。
高级语言: Shell
项目地址: git://github.com/ashirazi/git-flow-clone.git
创建时间: 2012-08-31T02:13:29Z
项目社区:https://github.com/ashirazi/git-flow-clone

开源协议:

下载


git-flow-clone

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

  1. 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

Installation

Working on a homebrew installation. Otherwise

  1. $ make install

Example

  1. $ git flow clone git@hostname.example.com:projectname
  2. Cloning into 'projectname'...
  3. ...
  4. Branch develop set up to track remote branch develop from origin.
  5. Using default branch names.
  6. ...
  7. Gitflow repo cloned to projectname
  8. $ cd projectname
  9. $ git branch
  10. * develop
  11. master

Todo

Let me know how it’s working for you.