Git · Senior · Question 74 of 76
What is the cost of a very large number of refs (for example millions of PR refs)?
- ✓Correct answer: Fetch and ref advertisement get slower
- 2Branches stop accepting new commits
- 3Every commit becomes larger on disk
Explanation
Protocol v2 and packed refs help, and hosts hide PR refs from default fetches. Custom refspecs fetch only what you need.