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
最佳答案
根据文档和 Unresolved 问题,目前 Artifactory 仅支持使用 REST API 而不是使用 git 客户端的 vcs (git) 克隆(但支持 git-lfs)。
您可以在此处找到更多详细信息 in this question
还有开issue在神器jira
关于github - 通过 Artifactory git 镜像克隆 github.com 仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66253739/