当前位置:   article > 正文

Mac安装 git-lfs 出现 Command failed with exit 128: git_git lfs mac

git lfs mac
fatal: not in a git directory
Error: Command failed with exit 128: git
  • 1
  • 2

brew install git-lfs 的时候,出现上述错误

在这里插入图片描述

解决方案:

执行 brew -v

在这里插入图片描述

按照提示执行 git config --global --add ...

在这里插入图片描述
然后再安装 git-lfs

brew install git-lfs

git lfs install
  • 1
  • 2
  • 3

在这里插入图片描述

参考:https://blog.csdn.net/zhouqiangCHN/article/details/124881952

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/758914
推荐阅读
相关标签
  

闽ICP备14008679号