此存储库没有默认分支 [英] This repository has no default branch

查看:62
本文介绍了此存储库没有默认分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio Online中删除了默认分支,现在收到消息"此存储库没有默认分支。
转到您的安全设置以选择一个"在查看我的另外两个分支时。当我单击消息提供的"安全设置"链接时,没有选项来设置默认分支 - 不是我看到的。我确实看到了我的存储库,并且左侧的
树已完全展开,但我没有在此Manage Repositories屏幕上看到我的分支。界面有变化,还是我在错误的地方?在Visual Studio Online中为存储库设置默认分支的任何建议?

I've deleted my default branch in Visual Studio Online and now receive the message "This repository has no default branch. Go to your security settings to select one" when viewing my other two branches. When I click the Security Settings link that the message provides, there is no option to set the default branch - not that I see. I do see my repositories, and the left-hand tree is fully expanded, but I don't see my branches on this Manage Repositories screen. Has the interface changed or am I looking in the wrong place? Any suggestions for setting the default branch for a repository in Visual Studio Online?

推荐答案

问候,

默认分行基本上是主分行,请查看以下链接,这将对您有所帮助。

Default Branch is basically Master branch, please check the below link which will help you.

https://www.visualstudio.com/en-us/docs / git / manage-your-branches

https://www.visualstudio.com/en-us/docs/git/manage-your-branches

问候,


这篇关于此存储库没有默认分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆