We are performing a system maintenance on Wednesday 2021-09-22. Translatewiki.net will be inaccessible for short periods of time.

Switching project branch names to "main"

From Support
Jump to navigation Jump to search

Switching project branch names to "main"

I'd like to rename the head of Krinkle/intuition-web 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.

Krinkle (talk)23:36, 13 December 2020

Just need to explicitly name the branch in repoconfig.yaml. There are already a few examples using the name "main".

Nike (talk)07:04, 14 December 2020