Reputation: 432
Can I perform a git archive
from a remote repository without cloning through JGit? The idea is to improve my current clone and make it lighter by just bringing the files I need.
Upvotes: 4
Views: 915
Reputation: 20985
No, JGit's archive command can only operate on a local repository. You will need to first (temporarily) clone the remote repository.
Upvotes: 1