Gogs 更改默认分支为main

位置:首页>文章>详情   分类:教程分享   阅读(138)   2023-08-20 09:31:06

前置条件Gogs版本 0.13.0

 

app.ini配置文件在[repository] 节点添加下面配置

; Default branch name when creating new repositories.
DEFAULT_BRANCH = main

 

搞定

标签: Gogs git main
地址:https://www.leftso.com/article/1693073101421547521.html