gpt4 book ai didi

git - Azure Devops 指定的登录 session 不存在

转载 作者:行者123 更新时间:2023-12-04 01:09:45 25 4
gpt4 key购买 nike

我们使用 Azure Devops 作为 git 存储库,之前我们经常遇到一个问题,即我们会收到“终端提示已禁用”错误。当我们升级到 Visual Studio (2019) 版本 16.8.1 时,这个问题就消失了,一切看起来都很好。然而,在这个版本大约两周后,我和我们的其他一些开发人员现在收到了这个错误:

Failed to push to the remote repository. See the Output window for more details.
Updating 7df912b..b4954c1
Git failed with a fatal error.
Failed to write item to store. [0x520]
A specified logon session does not exist. It may already have been terminated
POST git-upload-pack (909 bytes)
remote: Azure Repos
remote:
remote: Found 12 objects to send. (9 ms)
From https://dev.azure.com/myOrg/_git/myApp
7df971b..b4958c1 master -> origin/master

有时它也会说失败并检查输出窗口。当我去检查错误时,它会在输出窗口本身中显示“检查输出窗口”,而没有进一步的错误消息。我尝试清除 AppData 中的 git credentialtenant.cache 文件和 IdentityService 文件夹,但没有运气。但最奇怪的是,所有的推和 pull 似乎仍然有效。有人遇到过这些错误吗?

最佳答案

我遇到了同样的问题,该问题在我更新到版本 16.8.1 时出现,并在更新到 16.8.2 后继续存在。我可以通过转到“工具”>“选项”>“源代码管理”>“Git 全局设置”并将“凭据助手”值从“取消设置”更改为“GCM for Windows”来解决该问题。

enter image description here

关于git - Azure Devops 指定的登录 session 不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65219695/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com