Change branch name in the Community Edition

Must-share information (formatted with Markdown):

  • SQ 10.6.0 on Docker

When creating a new project I can set the default branch name.
But, I cannot change the name of the branch for existing projects. (At least, I did not found such option.)

I know, there is not branch feature support in the Community Edition.
But, for historical reason all older projects shows the common branch name “master” which we do not use anymore.
Please, add the feature to rename the default branch to fix visual confusion.

Hey there.

Believe it or not, it’s not possible through the UI in Community Edition.

But it is possible via the Web API.

curl -X POST -u username:password 'http://localhost:9000/api/project_branches/rename?project=test&name=main'

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.