GitLab push error: LFS objects are missing

前端 未结 2 869
遇见更好的自我
遇见更好的自我 2021-02-06 11:07

I\'ve used Git LFS for GitLab for a few months now without any problems, but it returned the following error while pushing files lately:

$ git push origin master         


        
2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-06 12:09

    This command helped me:

    git lfs ls-files -l | awk '{ print $1 }' | xargs git lfs push --object-id origin
    

    And it is faster than the other answer.

提交回复
热议问题