Question

How I can do

git clone --depth 1 ...

with JGIT library?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top