Skip to content
Tidying your physical space allows you to tend to your psychological space Marie Kondo

Git flow initialize

To inizialize git flow with default branches configuration, run

git flow init -d

It will create a git flow structure to your project

Initialized empty Git repository in /Users/giulia/Sites/giulia/test/.git/
Using default branch names.
No branches exist yet. Base branches must be created now.
Branch name for production releases: [main]
Branch name for "next release" development: [develop]
.git/hooks/post-commit: line 8: git-stats: command not found

How to name your supporting branch prefixes?
Feature branches? [feature/]
Bugfix branches? [bugfix/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []
Hooks and filters directory? [/Users/giulia/Sites/giulia/test/.git/hooks]

📚 More info

Edit this page on GitHub

Comment on DEV.to or Hashnode

Take me to the next post!