Checkout fails: `Smudge error: Error downloading assets/model.bin (a1b2c3...): ... Object does not exist on the server` then `fatal: assets/model.bin: smudge filter lfs failed`.
IntermediateTroubleshootingSubmodules, LFS and Hooks
Answer
Likely causes → A commit references an LFS object that was never uploaded. The author pushed with --no-verify (skipping the LFS pre-push hook), pushed from a machine without LFS, or the repo was migrated without copying LFS objects.
Diagnose →
git log -1 --format='%h %an' -- assets/model.bin
git lfs ls-files --long | grep model.bin
Fix → Ask the author to upload the missing objects from their clone: git lfs push --all origin. To get unblocked meanwhile: GIT_LFS_SKIP_SMUDGE=1 git checkout <branch>, then git lfs pull --exclude="assets/model.bin".
Prevent → Don't use --no-verify on LFS repos; after migrations run git lfs fetch --all old && git lfs push --all new.
More on Submodules, LFS and Hooks
`fatal: No url found for submodule path 'libs/common' in .gitmodules`IntermediateAfter cloning, the submodule directories exist but are empty.Beginner`git submodule update` fails: `fatal: remote error: upload-pack: not our ref 3f2a9c1...` and `Fetched in submodule path 'libs/common', but it did not contain 3f2a9c1. Direct fetching of that commit failed.`Intermediate`git status` keeps showing `modified: libs/common (new commits)` even though you never touched it.BeginnerYou committed inside a submodule, ran `git submodule update`, and your commits vanished.Intermediate`git submodule add` fails with `fatal: 'libs/common' already exists in the index`.Intermediate