我正在使用 JGit 调用
cloneRepository().setURI().setDirectory().setCredentialsProvider().call();
我目前正在使用 UsernamePasswordCredentialsProvider() 来尝试提供 stash 所需的信息,但我收到一条错误消息,显示 UnsupportedCredentialItem。我想知道是否有人具体知道通过 JGit 执行 git 克隆需要什么存储。
谢谢你的帮助
我正在使用 JGit 调用
cloneRepository().setURI().setDirectory().setCredentialsProvider().call();
我目前正在使用 UsernamePasswordCredentialsProvider() 来尝试提供 stash 所需的信息,但我收到一条错误消息,显示 UnsupportedCredentialItem。我想知道是否有人具体知道通过 JGit 执行 git 克隆需要什么存储。
谢谢你的帮助