3 ms·
Was curious and pulled it down. Why does git clone on this repo produce a local copy that is lacking content in any of the subdirectories of the NFs/ directory
by natch 5y ago
Was curious and pulled it down.
Why does git clone on this repo produce a local copy that is lacking content in any of the subdirectories of the NFs/ directory? Looks like a symbolic link issue?
More importantly, how does one fix the issue?
Or maybe what I am seeing is references to git submodules?
Edit: got it, yes, submodules. Instead of git clone <url>, the trick is to use:
git clone --recursive <url>
- octocop 5y agoYou can also do git submodule update --remote --init --recursive if you've already cloned it.
- CamperBob2 5y agoI always just download a .zip. Never understood using the whole "git clone" thing when I just want to look at the repo without participating in development.
- natch 5y agoIt gives you the commit history for one thing. And if you download for archiving you get the whole thing, all the branches etc. rather than just a current snapshot of the main branch. But sure if that’s all you want, zip is fine.
- electroly 5y agoThis project and subthread provide one reason a clone can be necessary: submodules. The zip doesn't include any submodules, and it doesn't include the metadata necessary to go and download the submodules either. This project cannot be built from the zip; the NFs folders are all empty.
- deleted 5y ago[deleted]