当前位置:   article > 正文

Mac M2使用androidstudio 时,git提示git-lfs filter-process: git-lfs: command not found_bash: git-lfs: command not found

bash: git-lfs: command not found

mac m2自带git(自己装的也可以)。

只需在官网下载git lfs的库放在/usr/local下,并对/usr/local/git-lfs-3.4.0配置环境变量。

在命令界面输入git --exec-path可以查看到一个路径,将上面git-lfs-3.4.0中的git lfs文件拷贝到该相对路径下即可。

最后重启android studio,并在settings中确保git的路径配置正确即可,就可以在android studio使用git以及git lfs的能力

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号