Git · Senior · Question 15 of 76
What does a partial clone with --filter=blob:none do?
- 1Downloads only the newest commit, without any history
- ✓Correct answer: Downloads commits and trees, fetching file contents on demand
- 3Downloads all branches but none of the tags
Explanation
Unlike a shallow clone you keep full history for log and blame, while old file versions download lazily. It's good for huge repos, but needs a server that supports it.