如何使用Grgit从远程获取?

时间:2016-03-21 23:39:29

标签: grgit

以下代码:

final git = Grgit.open("${oldVersionRoot}/.git")
git.fetch(refSpecs: ["release/${oldVersion}"])

发射:

Caused by: org.eclipse.jgit.errors.TransportException: Remote does not have release/2.1747.0 available for fetch.

fetch工作的正确咒语是什么?

1 个答案:

答案 0 :(得分:1)