| English | 中文 |
This directory is intended for teams dealing with monorepos, repositories with massive histories, large binary files, mixed multi-service repositories, and high CI clone costs.
| Symptom | Recommended Reading |
|---|---|
| Unsure how to optimize overall | Large Repository Git Practices |
| Clone is too slow, only need partial history | Shallow Clone |
| History and blob objects are too large | Partial Clone |
| Only care about specific directories | Sparse Checkout |
| Large files must be checked into the repository | Git LFS |
| Parallel development across multiple branches | Worktree |
| Repository operations are getting progressively slower | Repo Maintenance |
When dealing with shared code, cross-repository dependencies, and component reuse, do not merely consider whether a Git command is viable. Also evaluate team collaboration costs, release cadences, permission boundaries, and disaster recovery methods.