Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git flow init -d default suggestions are empty

Tags:

git

git-flow

I'm using Git flow on Windows. When I'm initializing my repo via

git flow init -d 

I get the following output

Which branch should be used for bringing forth production releases?
- develop
- master
 Branch name for production releases: [master]

Which branch should be used for integration of the "next release"?
  - develop
Branch name for "next release" development: [develop]

How to name your supporting branch prefixes?
Feature branches? []
Bugfix branches? []
Release branches? []
Hotfix branches? []
Support branches? []
Version tag prefix? []

As can be seen, the default prefixes are empty. Can anyone tell me in which config file these prefixes are set?

The problem is that I'm using a PowerShell script to clone multiple repos and init the repos via git flow init -d, so I need the default values.

Thx

like image 608
Moerwald Avatar asked Oct 20 '25 06:10

Moerwald


1 Answers

This might either be a bug or a voluntary change: at the very least someone posted a github issue about this.

In the meantime, you can use:

git flow init -d --feature feature/  --bugfix bugfix/ --release release/ --hotfix hotfix/ --support support/ -t ''

As pointed out by @creativeDev, if you already did 'git flow init' you can force reinitialization by adding -f before -d:

git flow init -f -d --feature feature/  --bugfix bugfix/ --release release/ --hotfix hotfix/ --support support/ -t ''

update 2020-08-25: this issue is asking the author, nvie, to mark the repository (?) as deprecated and make git-flow point in homebrew to git-flow-avh instead

like image 153
bernard paulus Avatar answered Oct 22 '25 19:10

bernard paulus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!