Interview Prep/Git & GitHub/Scale, Submodules, LFS and GitHub Automation

A game studio edits Unity scenes and PSD files, and merges of binary files keep destroying work.

AdvancedScenarioScale, Submodules, LFS and GitHub Automation
Answer

Situation read → Binary files cannot be merged, so concurrent edits mean one person's work is lost.

What I'd do →

  1. Track binaries with LFS and mark them lockable: git lfs track "*.psd" --lockable.
  2. Artists lock before editing: git lfs lock art/hero.psd, and unlock when pushed.
  3. Lockable files are read-only locally until locked, preventing accidents.
  4. Set Unity to text-based YAML serialisation and use its smart merge tool for scenes.

Why → Locks turn a merge problem into a coordination problem, which is solvable.

Interview tip → git lfs locks shows who holds what.

All Git & GitHub questions Roadmap: Git & GitHub

More on Scale, Submodules, LFS and GitHub Automation