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).
548k questions
547k answers
4 comments
86.3k users