我最近更新了我的git (2.7.4.windows.1)。从那时起,从github拉取会产生如下输出:
$ git pull --rebase
Fatal: TaskCanceledException encountered.
Current branch ABC-123_Something is up to date.
Fatal: TaskCanceledException encountered.
在无聊的20秒后出现,然后一切都正常。我没有在网上找到任何东西,我想避免一次又一次地浪费这20秒。
发布于 2018-02-23 12:37:08
我刚刚遇到了同样的问题,如果在接受的答案的评论中遗漏了这个问题,修复方法是:
git config --global credential.helper wincred
发布于 2018-08-30 03:37:32
在全局.gitconfig文件中代理选项的设置与从系统级别清除凭据助手设置的需要之间似乎存在某种关系。出于安全原因,我最近从我的文件中删除了git http-proxy和https-proxy设置,并开始收到此消息,然后是暂停,然后是登录到我的外部git存储库的提示。每次获取、推送或拉取时都会发生这种情况。我不想替换我的.gitconfig中的代理设置,所以以下是对我有效的步骤:
git config --list --system
git config --list --global
这些将为您提供所有系统和全局级别设置的列表。这确认了它在system名称空间中设置为credential.helper=manager,在全局名称空间中设置为credential.helper=wincred。要消除系统级别的干扰,请执行以下操作:
git config --system --unset credential.helper
所有git命令都恢复正常,没有错误消息或延迟。
发布于 2020-04-29 13:27:55
发生这种情况是因为git .config设置在全局和系统级别上存在冲突。在我的例子中,系统中的凭证帮助器被设置为manager
,而在全局中,它被设置为wincred
。您可以使用以下命令进行检查:
git config --list --system
git config --list --global
我将系统一从manager更改为wincred
,它起作用了。使用下面的命令更改它。
git config --global credential.helper wincred
https://stackoverflow.com/questions/36309363
复制相似问题