github - 通过 Artifactory git 镜像克隆 github.com repo
问题描述
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
解决方案
推荐阅读
- c# - WPF:如何从 TextBox 获取当前绝对行号和列号(忽略文本换行)
- javascript - 如何在功能组件上接收 express 发送的数据?
- numpy - 如何在 Numpy 中逐行向量化乘法和重新加法?
- reactjs - 在 React 中重置表单并控制台记录服务器端的详细信息
- continuous-integration - Gitlab CI 使用规则启用合并结果
- reactjs - 无法获得 componentDidUpdate 内部方法的测试覆盖率
- .net - Yocto Linux 内核:如何将 .NET 核心框架构建到我的 Linux 映像中?
- flutter - 将变量转移到其他类
- java - 是否可以从 dto 和 User 类创建一个 newUser ?
- python - Seaborn 小提琴图与 x 轴标签不对齐