Git for games: current problems and solutions
summary
Games store tens of terabytes and ~90% binary assets, so Git LFS fixes storage bloat but not binary merge conflicts. The solution enforces a path property — every commit to a file must descend from prior commits to that file — and implements a centralized index called Git Global Graph written in Rust, which force-pushes namespaced local branches, exposes an HTTP API, and supplies a pre-commit hook that rejects commits that would create binary conflicts. Prototype works but needs deeper filesystem integration and rules for intentional parallel edits.
AI-written summary · about
chapters (14)
- 0:00Introduction to Git in games
- 1:51Why game repos are huge
- 3:19Binary file issues in Git
- 5:05Why simple solutions fail
- 8:23Binary files can’t merge
- 10:56File locking doesn’t fit Git
- 12:00Self-conflicts in Git
- 13:04Commit graph constraints
- 16:58Implicit locking via commits
- 18:23Global commit graph concept
- 20:11Introducing Git Global Graph
- 21:35Pre-commit hook demo
- 22:59Limitations and future work
- 24:28Q&A
