2

I'd like to set up a git sub-project that pulls in just one file from the target project - I just want to pull in the built JavaScript library from the target project, not the whole project.

Is this possible?

xeolabs
  • 1,369
  • 1
  • 9
  • 16

1 Answers1

1

Short answer: no.

Long answer: no, but it might help to perform a shallow clone (get only the last N commits). Look at git clone --depth MAXDEPTH.

Mark Leighton Fisher
  • 5,609
  • 2
  • 18
  • 29