【问题标题】:How to clone azure deveOps project using command line?如何使用命令行克隆 azure devOps 项目?
【发布时间】:2022-01-19 05:39:32
【问题描述】:

我想在 tfs 服务器上克隆项目并使用 git 命令使用它, 我找不到用于克隆的 url,请任何人帮忙。

【问题讨论】:

  • 我的项目在 Azure DevOps 上,但那里没有克隆按钮
  • 也有可能您的 TFS 项目配置了 TFVC 而不是 git,在这种情况下没有克隆 url,您需要使用工具 3rd 方工具如 gif-tfs 进行克隆。跨度>

标签: git azure visual-studio devops


【解决方案1】:

据此document

  1. 转到Repos>Files
  2. 选择您的存储库,
  3. 点击clone button to copy the URL

现在,使用复制的 URL 通过命令行克隆项目。

对于example

git clone https://dev.azure.com/fabrikam/DefaultCollection/_git/Fabrikam

您也可以参考how to clone an azure dev ops git repo using PAT with command line git or sourcetree?Clone a Git repository from Azure DevOps to your local machine by using the commandlineCloning all repositories from DevOps using Azure CLI

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-01-21
    • 1970-01-01
    • 1970-01-01
    • 2020-05-23
    • 2019-04-05
    • 1970-01-01
    • 2023-03-06
    相关资源
    最近更新 更多