问题描述
我已经在azure devops上创建了一个新项目,现在我正尝试向sourcetree添加一个帐户:
I've created a new project on azure devops and now I'm trying to add an account to sourcetree:
我通过以下方式设置了Opions:
I've setup the opions in the following way:
主持人:Azure开发人员
Host: Azure devops
主机旁边的链接: https://[email protected]/myuser
还尝试了 https://dev.azure.com/myuser
Link next to Host: https://[email protected]/myuser
Also tried with https://dev.azure.com/myuser
身份验证类型:它已锁定为私人令牌,无法更改.
Auth Type: It's locked to private token, can't change it.
用户名:尝试过我的电子邮件,还启用了其他凭据,并尝试使用该用户名.
Username: Tried with my email, also enabled alternative credentials and tried with that username.
密码:尝试使用真实密码以及个人访问令牌
Password: Tried with the real password as well as the personal access token
协议:HTTPS
我一直收到错误消息:We couldn't connect to Azure DevOps with your credentials.
这可能是什么原因?
I keep getting the error: We couldn't connect to Azure DevOps with your credentials.
What could be the cause of this?
推荐答案
尽管macOS的SourceTree已更新了Azure DevOps的名称(来自"Visual Studio Team Services"),但它似乎不支持新的Azure DevOps URL.
Although SourceTree for macOS has updated the name of Azure DevOps (from "Visual Studio Team Services"), it appears that it does not support the new Azure DevOps URLs.
您可以使用旧格式(VSTS样式)的URL.可以使用https://username.visualstudio.com
代替https://dev.azure.com/username
.
You can use the old-format (VSTS-style) URLs. Instead of https://dev.azure.com/username
, you can use https://username.visualstudio.com
.
具有讽刺意味的是,似乎Windows的SourceTree仍将产品称为"Visual Studio Team Services",但支持新型的Azure DevOps URL.)
Ironically, it seems that SourceTree for Windows still calls the product "Visual Studio Team Services" but supports the new-style Azure DevOps URLs.)
这篇关于在MacOS上使用SourceTree连接到Azure devops存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!