【发布时间】:2021-02-22 21:35:14
【问题描述】:
Artifactory 支持 vcs 存储库,原生支持 github、bitbucket 和其他 git 服务器。
他们的文档显示可以通过 API 设置和访问 github.com 镜像
https://www.jfrog.com/confluence/display/JFROG/VCS+Repositories
curl -iL "http://artifactory.example.com/api/vcs/downloadBranch/github-vcs/jquery/jquery/main"
您将如何使用 git cli 而不是 `curl 执行相同的克隆操作?
尝试
git clone "http://artifactory.example.com/api/vcs/downloadBranch/github-vcs/vim/vim/master
git clone https://artifactory.example.com/vim/vim
git clone https://artifactory.example.com/api/vcs/github-vcs/vim/vim
【问题讨论】:
标签: github artifactory