Autodetect default branch as fallback
还没有人认领这个 Issue。
评估
调研方向
先阅读命令行对 --default-branch 的处理方式以及分支自动检测路径;issue 没有指定具体文件或测试。使用一个分支名称经过自定义的 repository,以及另一个使用 master 的 repository 来复现问题。若请求的分支不存在时命令会回退到自动检测,或按照 issue 的建议接受多个候选名称,则任务完成。
由索引模型根据 Issue 内容生成。
描述
If --default-branch isn’t found it should still fall back to the auto detect. Or it should allow to specify multiple names. I use this in a script to generate for a lot of repos. All new ones use my custom name for it, but the old ones still have master.
- 主要语言
- Go
- 星标
- 1.3k
- 派生
- 50
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
antonmedv/gitmal 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
Raw file view未关闭feature
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 47/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
cicd needs-triage
难度 1/5 1 小时以内 新手友好度 91/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
kind/cleanup
难度 2/5 1-3 小时 新手友好度 76/100
kubernetes-sigs/kueue#19255 ·
维护者通常 1 天内回复