Skip to content

! [remote rejected] master -> master (pre-receive hook declined)

Unable to push repository. Getting the following error:

remote: Gitlab: LFS Objects are missing. Ensure LFS is properly setup or try a manual "git lfs push -all" to https://gitlab.domain.tld/project.git ![remote rejected] master -> (pre-receive hook declined error: failed to push some refs to 'https://gitlab.domain.tld/project.git'

I tried the suggestion to use git lfs push as follows:

git lfs push origin master

it completes successfully but then it go right back to the original error when I try to git push.

I'm stuck in a loop. I would appreciate some help.

Thanks!