当前位置: 代码迷 >> 综合 >> 【git】This repository is configured for Git LFS but ‘git-lfs‘ was not found on your path
  详细解决方案

【git】This repository is configured for Git LFS but ‘git-lfs‘ was not found on your path

热度:42   发布时间:2024-01-29 06:02:23.0

现象:git push origin master报错,报错信息为:\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n

解决方案:

step 1: git pull整个工程;

step 2: 删除工程下的.git/hooks/pre-push

 

  相关解决方案