Transitioning to git-flow.
- create a
developbranch - in
settings=>brancheschoosedevelopas the default branch and clickupdate - also in
settings=>brancheschoose to protect themasterbranch.
In your terminal, in the project folder:
git fetch upstreamto from yourmasterbranch to sync your fork with the upstream.git checkout -b developto create your localdevelopbranchgit pull upstream developto pull down the changesgit push -u origin developto connect your local branch to your fork
Then run git flow init and accept the defaults:
> git flow init
Which branch should be used for bringing forth production releases?
- master
- develop
Branch name for production releases: [master]
Branch name for "next release" development: [develop]
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []