Discussions

Ask a Question
Back to All

rebar3 dependencies on github: branches now main instead of master. Already fixed?

I just added a dependency in from github to my project.:
https://github.com/zadean/htmerl.git

rebar3 does:
git clone git://github.com/zadean/htmerl.git .tmp_dir885760416158 -b master --single-branch

but github is now expecting:
git clone git://github.com/zadean/htmerl.git .tmp_dir885760416158 -b main --single-branch

So branch master is changed to main.
I don't want to start a discussion about software and PC - wrong place here.
BUT
I am using rebar 3.9.1.
Is there a switch/option to change the branch name of the git repo?
Is this fixed or possible in the latest version?

Best Regards
Markus