无法确定此“dev.azure.com"远程 url 的组织名称 [英] Cannot determine the organization name for this 'dev.azure.com' remote url

查看:34
本文介绍了无法确定此“dev.azure.com"远程 url 的组织名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我刚刚更新到一个新的 Visual Studio 版本,但我无法再从/向我的 azure git repo 推送/拉取(克隆工作正常).

So i just updated to a new Visual studio version and I'm no longer able to push/pull from/to my azure git repo (cloning works fine).

我得到的确切错误是

无法确定此dev.azure.com"遥控器的组织名称网址.确保设置了 credential.usehttppath 配置值,或将组织名称设置为远程 url 中的用户'{org}@dev.azure.com'.

Cannot determine the organization name for this 'dev.azure.com' remote url. ensure the credential.usehttppath configuration value is set, or set the organization name as the user in the remote url '{org}@dev.azure.com'.

并且只有 pull 命令向我显示这个错误,所有其他命令都因 git 致命错误而失败.我弄乱了我的凭据管理器,因为我怀疑它可能是导致问题的原因,但没有运气..

and only the pull command shows me this error, all the others are failing with git fatal error. I messed with my Credentials Manager cos i suspected it might be the one causing the problem but no luck..

推荐答案

为我解决问题的是工具 >选项 >源代码管理Git 全局设置,在那里我更改了所有 4 个下拉菜单,它们仍然被选为未设置":

What fixed the issue for me is going to Tools > Options > Source Control > Git Global Settings, there I changed all 4 dropdowns which were still selected as "Unset":

  • 在获取期间修剪远程分支 - 错误
  • 在拉取时重新设置本地分支 - 错误
  • 加密网络提供商 - OpenSSL
  • 凭证助手 - GCM 核心

来源:https://docs.microsoft.com/en-us/visualstudio/ide/git-with-visual-studio?view=vs-2019#personalize-your-git-settings

注意:这些是我的组织需要的设置.您可能需要根据您的具体问题对它们进行调整.

Note: These are the settings my organization requires. You might have to tweak them around according to your exact issue.

这篇关于无法确定此“dev.azure.com"远程 url 的组织名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆