如何处理Git警告“已设置主机提供程序覆盖,但没有这样的提供程序..."?

wz8daaqr  于 2022-12-25  发布在  Git
关注(0)|答案(2)|浏览(452)

我在现有存储库上调用了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
tnkciper

tnkciper2#

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

git config --global --edit

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

git config --global credential.helper manager

相关问题