【问题标题】:Ho to deal with Git warning "a host provider override was set but no such provider..."?如何处理 Git 警告“设置了主机提供商覆盖但没有这样的提供商......”?
【发布时间】:2022-12-21 17:20:29
【问题描述】:

我在现有存储库上调用了 git pull 并收到了以下警告

$ git pull
warning: a host provider override was set but no such provider 'gitlab' was found. Falling back to auto-detection.
warning: a host provider override was set but no such provider 'gitlab' was found. Falling back to auto-detection.
Already up to date.

如何修复此警告以及它来自哪里?

使用的 Git 版本

$ git --version
git version 2.31.0.windows.1

【问题讨论】:

    标签: git git-credential-manager


    【解决方案1】:

    【讨论】:

      【解决方案2】:

      我可以通过编辑 Git 配置并删除所有现有和未使用的 credential 设置来解决我报告的问题

      git config --global --edit
      

      之后我为凭证助手设置了全局 Git 设置

      git config --global credential.helper manager
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-10-10
        • 2021-11-04
        • 1970-01-01
        • 2023-01-26
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多