$ git flow init
.git/config
:
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "develop"]
remote = origin
merge = refs/heads/develop
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =
- Run the preversion script.
- Bump version in package.json as requested (patch, minor, major, etc).
- Run the version script.
- Commit and tag.
- Run the postversion script.
- prepublish: Run BEFORE the package is published.
- publish, postpublish: Run AFTER the package is published.
git flow finish release -> merges & tags npm version -> bumps version, commits & tags