在 MacOS 上使用 sourcetree 连接到 Azure devops 存储库 [英] Connect to Azure devops repo using sourcetree on MacOS

查看:45
本文介绍了在 MacOS 上使用 sourcetree 连接到 Azure devops 存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 azure devops 上创建了一个新项目,现在我正在尝试向 sourcetree 添加一个帐户:

我已按以下方式设置选项:

主持人:Azure DevOps

主机旁边的链接:

具有讽刺意味的是,Windows 版 SourceTree 似乎仍称该产品为Visual Studio Team Services",但支持新式 Azure DevOps URL.)

I've created a new project on azure devops and now I'm trying to add an account to sourcetree:

I've setup the opions in the following way:

Host: Azure devops

Link next to Host: https://myuser@dev.azure.com/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

Protocol: HTTPS

I keep getting the error: We couldn't connect to Azure DevOps with your credentials. What could be the cause of this?

解决方案

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.

You can use the old-format (VSTS-style) URLs. Instead of https://dev.azure.com/username, you can use https://username.visualstudio.com.

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 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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