How I can do
git clone --depth 1 ...
with JGIT library?
Shallow Cloning: Definition: "A shallow copy of an object copies the 'main' object, but doesn't copy the inner objects." When a custom object (eg. Employee) has just primitive, String type variables then you use Shallow Cloning.
You can't, JGit doesn't yet support shallow clones on the client side (it does on the server side, though).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With