Stringlate icon indicating copy to clipboard operation
Stringlate copied to clipboard

Use --depth=1 option when cloning

Open trubitsyn opened this issue 6 years ago • 2 comments

This generally reduces traffic usage significantly by not cloning the whole repository but the most recent version. Though it seems like jgit has no support for this yet.

trubitsyn avatar Apr 26 '18 18:04 trubitsyn

Last time I looked for Git libraries, jgit was the only Java one I found that looked appealing :/

Lonami avatar Apr 26 '18 18:04 Lonami

https://stackoverflow.com/q/11475263/4759433 has more on this, for what is worth.

Lonami avatar May 10 '18 11:05 Lonami