Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Changed default branch name for production releases #448

Open
dangerousmanjay opened this issue Nov 16, 2020 · 4 comments
Open

Changed default branch name for production releases #448

dangerousmanjay opened this issue Nov 16, 2020 · 4 comments

Comments

@dangerousmanjay
Copy link

dangerousmanjay commented Nov 16, 2020

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

@dangerousmanjay dangerousmanjay changed the title Change default branch name for production releases Changed default branch name for production releases Nov 16, 2020
@mrleblanc101
Copy link

mrleblanc101 commented Apr 12, 2021

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
Copy link

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
Copy link
Contributor

talios commented Apr 12, 2021

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

@phillpafford
Copy link

Any movement on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants