runas-gitflow-init

Init gitflow structure

Usage no npm install needed!

<script type="module">
  import runasGitflowInit from 'https://cdn.skypack.dev/runas-gitflow-init';
</script>

README

Main Index:

Available Commands:

FLOWS

STEPS

gitflow::init (Git Flow creation)

[Index]

Description

Initialize git Flow structure from a master branch. This step needs git administration privileges.

Parameters

  • --gitflowBase: [Object], default: see gitflowBase section : Set the default set of branches of git flow.

gitflowBase Object

Generate all the branch listed in this object.

default is:

  &quot;gitflowBase&quot;: {
    &quot;develop&quot; : {
      &quot;major&quot;: [&quot;premajor&quot; , &quot;beta&quot;],
      &quot;minor&quot;: [&quot;preminor&quot; , &quot;beta&quot;],
      &quot;patch&quot;: [&quot;prepatch&quot; , &quot;beta&quot;]
    }
  }
Branch name: (first object lavel)

by default is "develop": name of the branches that is going to be generated on init flow.

Choose version strategy:

All options to choose for init strategy of the new branch

"major": ["premajor" , "beta"],

"major" -> Test prompted ["premajor" , "beta"], -> Strategy , prereleaseTag (see runas-plugin-semver plugin for more information)

Stages

Check

Checks with git fetch -p if remotes branches are up to date.

Run

Create set of branches configured on this.params.gitflowBase

PLUGINS