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).
2.1m questions
2.1m answers
60 comments
57.0k users