Skip to content

Wrong default branch while switching between branches via the web interface #27008

Closed
@lng2020

Description

@lng2020

Description

When switching between branches via the web interface, the default branch should remain unchanged.
ksnip_20230911-153517
e.g. The default branch should remain main

Gitea Version

latest codebase

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

building Gitea from source code

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions