Changed default branch name for production releases
Opened this issue · 4 comments
dangerousmanjay commented
Since github changed its default branch name from 'master' to 'main',
please consider adding auto detection when $ git flow init -d
is called
mrleblanc101 commented
The next release of Gitlab self-hosted and Gitlab.com will also change the default branch name.
It would be fun if git-flow-avh
would change it's default to main
https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/?utm_medium=social&utm_source=linkedin&utm_campaign=blog
mrleblanc101 commented
From what I can see, BitBucket also made that change: https://bitbucket.org/blog/moving-away-from-master-as-the-default-name-for-branches-in-git
talios commented
Auto-detect would be best - if the repo in question has main
, sure - use it, but if it has master
- use that instead.
phillpafford commented
Any movement on this?