Вопрос

How I can do

git clone --depth 1 ...

with JGIT library?

Это было полезно?

Решение

You can't, JGit doesn't yet support shallow clones on the client side (it does on the server side, though).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top