Cloning a git-flow repo

2018-05-23 14:23 (2018-05-23 14:23)

how to clone a git-flow repo:

  $ git checkout master
  $ git checkout develop
  $ git branch -a
      * develop
      master
      remotes/origin/HEAD -> origin/develop
      remotes/origin/develop
      remotes/origin/master

Now run git flow init as normal:

$ git flow init

Or we can convert an existing repo:

$ git checkout master
$ git checkout -b develop
$ git push origin develop
Janos Bekesi

Software, Admin

---
---