0
下面的代碼:如何使用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
工作?