github - 通过 Artifactory git 镜像克隆 github.com 仓库

标签 github artifactory

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/

相关文章:

docker - JFrog 5.8.3作为Docker镜像

git init 不创建 .git 目录

Git:为什么我必须提交其他人的更改

github - 您如何跟踪您对 GitHub 问题的评论?

git - 如何设置中间 git 服务器?这是否可取?

war - Artifactory 的运行权限

Docker 通过摘要提取不适用于 Docker 1.13.1 和 Artifactory 5.0.1

java - 如何维护生产和开发不同的maven环境?

jenkins - Jenkins Artifactory插件未使用Gradle发布 Artifactory

Github 向 Skype 聊天机器人提交消息