4

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.

Nana89
  • 432
  • 4
  • 21

1 Answers1

1

No, JGit's archive command can only operate on a local repository. You will need to first (temporarily) clone the remote repository.

Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79