当您从网站在 Gitea 中创建存储库时,您可以标记“初始化存储库(添加 .gitignore、许可证和自述文件)”,并且当您从 API 您可以设置auto_init
为 true。
有没有办法配置 Gitea 强制所有存储库初始化存储库,无论它们是从网站还是 API 创建的,也无论用户为此选项选择什么?
换句话说,我需要将 Gitea 配置为始终初始化创建的每个存储库。
When you create a repo in Gitea from the website you can mark "Initialize Repository (Adds .gitignore, License and README)", and when you create a repo in Gitea from the API you can set auto_init
to true.
Is there any way to configure Gitea to force Initialize Repository for all repos no matter if they are created from the website or API and no matter what the user chose for this option?
In other words, I need to configure my Gitea to always initialize every repo that is created.
发布评论