Learn more about these different git repos.
Other Git URLs
Cannot delete branch named master even if it is not the default project branch
master
Recently, I changed a couple of repositories to use main and rawhide as the default git branch. Since they are in parity with master, I want to delete master since it is a duplicate branch. However, Pagure does not let me delete it, as it seems that any master branch is a protected keyword for git branches.
main
rawhide
Expected outcome:
Actual outcome:
Forbidden: You are not allowed to delete the master branch
Unnecessary git branches named master should be deleted when it is not the default git branch for a project
Could you point me to such project?
Nevermind, I could reproduce this locally, thanks for the report :)
Metadata Update from @pingou: - Issue assigned to pingou - Issue set to the milestone: 5.12 - Issue tagged with: bug
Commit 24efe4d fixes this issue
Login to comment on this ticket.