-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git sparse-checkout to the README #75
Comments
@ejratl - something to consider: oasis-tcs/cti-stix2#293. If you read to the bottom there is some hesitation to do this before 2.2 |
This seems to work: git sparse-checkout set asciidoc-shared extension-definition-specifications objects/extension-definition objects/identity objects/location objects/marking-definition Can you give it a try - it eliminates 99% of the files in the repo :-) |
Did you guys try git LFS? I guess it might be used for the folder |
I looked into git LFS in the past - but never got very far with it. If you have some ideas, I would love to add some directions to the README |
and from now on, any file (including changes) on the folder Try to clone this repo to see the speed... but I mean, I never tested it at this level: |
A common complaint about the cti-stix-common-objects repo is that it is very big because it creates and holds STIX objects for every CVE. People who are only working on extensions don't necessarily need all of the CVE objects pulled into their local repo.
git has an answer for this use case: git sparse-checkout. This relatively new feature of git is documented in a blog from Github.
It would be nice to add a paragraph describing how to use this with this repo. I'm creating this issue as a reminder to write this.
The text was updated successfully, but these errors were encountered: