petervanderdoes/gitflow-avh

Changed default branch name for production releases

Opened this issue · 4 comments

Since github changed its default branch name from 'master' to 'main',
please consider adding auto detection when $ git flow init -d is called

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

Auto-detect would be best - if the repo in question has main, sure - use it, but if it has master - use that instead.

Any movement on this?