You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When creating a new repository and creating its wiki from the web interface, the wiki repository's default branch is "master". This cannot be seen on the web interface, but it appears when cloning the wiki.
This is surprising and inconsistent with git's defaults, as well as gitea's own default for repository.DEFAULT_BRANCH (#19354).
I assume the default should be main, and this should be configurable either with a configuration key (repository.DEFAULT_WIKI_BRANCH maybe?), or in the repository's settings on the web interface.
Gitea Version
1.22.0+dev-511-g657b23d63
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?
I am using try.gitea.io to demonstrate the issue. I am personally running the latest release of gitea on Ubuntu, installed from binary.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered:
Description
Hello,
When creating a new repository and creating its wiki from the web interface, the wiki repository's default branch is "master". This cannot be seen on the web interface, but it appears when cloning the wiki.
This is reproducible on the test instance, see for instance https://try.gitea.io/na-Itms/wikibranchname.wiki.git
This is surprising and inconsistent with git's defaults, as well as gitea's own default for
repository.DEFAULT_BRANCH
(#19354).I assume the default should be
main
, and this should be configurable either with a configuration key (repository.DEFAULT_WIKI_BRANCH
maybe?), or in the repository's settings on the web interface.Gitea Version
1.22.0+dev-511-g657b23d63
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?
I am using try.gitea.io to demonstrate the issue. I am personally running the latest release of gitea on Ubuntu, installed from binary.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: