gitflow-avh icon indicating copy to clipboard operation
gitflow-avh copied to clipboard

Changed default branch name for production releases

Open dangerousmanjay opened this issue 5 years ago • 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

dangerousmanjay avatar Nov 16 '20 05:11 dangerousmanjay

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 avatar Apr 12 '21 18:04 mrleblanc101

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

mrleblanc101 avatar Apr 12 '21 18:04 mrleblanc101

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

talios avatar Apr 12 '21 20:04 talios

Any movement on this?

phillpafford avatar May 21 '22 19:05 phillpafford