【发布时间】:2014-07-16 20:34:47
【问题描述】:
我有一个地址为ssh://user@host.com/git/repository/project.git 的远程存储库
和密码
而且我需要使用带有 ant 任务的 jgit 克隆它。不幸的是,我无法使用标准的 jgit git-clone ant 任务克隆它,因为我什至在能够输入密码之前就收到了身份验证错误。我尝试检查解决方案,但还没有运气。我应该怎么办?我应该以某种方式自定义该任务吗?
使用命令行 git 命令git clone ssh://user@host.com/git/repository/project.git 克隆该项目并在之后声明密码没有问题
【问题讨论】:
标签: git ant ssh git-clone jgit