سؤال

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