Nana89
Nana89

Reputation: 432

git archive remote with JGit

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

Answers (1)

Rüdiger Herrmann
Rüdiger Herrmann

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

Related Questions