Switching project branch names to "main"
I'd like to rename the head of Krinkle/intuition-web and mw-tool-orphantalk to "main".
Is that supported currently? What should I do? Anything I can help with?
In my own utility scripts, I found that for most use cases it is possible to be agnostic of the branch name by using origin/HEAD
in pulls or checkouts, but for pushes it probably needs to be specified somewhere.
Just need to explicitly name the branch in repoconfig.yaml. There are already a few examples using the name "main".
Thanks. Done at https://gerrit.wikimedia.org/r/c/translatewiki/+/649444/