git - 您的主要分支不 protected

标签 git github

在运行了一系列尝试创建和删除标签和分支的命令后,我看到了以下内容

enter image description here

这是什么,我应该如何处理?

(Edited out 结果证明是不相关的内容)

最佳答案

GitHub 支持:

Please do not be alarmed, you have not broken anything on your repository. We introduced a prompt for repository owners and admins to protect their default branches ... the prompt [is] displayed to any admins with more than one branch in a repository.

我已经确认了这一点,创建分支创建横幅,删除分支删除横幅。

关于git - 您的主要分支不 protected ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73004979/

相关文章:

git:接收后 Hook 中的空参数

git - 有什么方法可以阻止 Sublime Text 的 Git 插件弄乱状态栏吗?

git - 在 Jenkins 上从 GitHub 克隆 : could not load PEM client certificate

bash - 使用 bash、cURL 和 GitHub API 从命令行 fork GitHub 存储库

git push 与 git-cola 失败

ruby-on-rails-3 - 使用 Heroku 作为主要的 Git 存储库

github - 如何在 cpanel 中克隆 github 私有(private)存储库(没有终端或 ssh 的共享主机)?

eclipse - Egit 已安装但未显示

来自另一个存储库目录的 Git 子模块

git - 如何获取某个文件的提交链