【发布时间】:2019-07-30 02:59:19
【问题描述】:
我是 Mac 用户。我想使用源代码树将我的 azure DevOps 存储库克隆到本地。
我所做的是,
- 打开 SourceTree
-
Remote> 在 Azure DevOps 列表中单击我要克隆的存储库的Clone
我得到了这个窗口。
Source URL 是
https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME
当我点击This is not a valid source path / URL时,它会说,
real URL is https://spsprodea1.vssps.visualstudio.com/_signin?
...abort: 'https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME' does not appear to be an hg repository:
---%<--- (text/html; charset=utf-8)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US">
<head><title>
Azure DevOps Services | Sign In
</title><meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8" />
<link rel="SHORTCUT ICON" href="/favicon.ico"/>
...
---%<---
!
fatal: Authentication failed for 'https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME'
fatal: Authentication failed for 'https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME'
fatal: Authentication failed for 'https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME'
fatal: Authentication failed for 'https://ORG_NAME@dev.azure.com/ORG_NAME/PROJECT_NAME/_git/REPOSITORY_NAME'
我已经使用 username 和 PAT 将我的 DevOps 帐户添加到 SourceTree,没有任何问题。
我该如何解决这个问题?
【问题讨论】:
标签: git azure-devops atlassian-sourcetree