git命令如何打破?
我从网站上安装了git LFS,然后运行了git lfs安装,它说:
git lfs install
-->
fatal: 'lfs' appears to be a git command, but we were not
able to execute it. Maybe git-lfs is broken?
我尝试卸载LFS安装程序并重新安装,但没有更改任何内容。
我在Windows 10,WSL 2,Ubuntu 20.04.4
I installed git lfs from the website, then ran git lfs install and it said:
git lfs install
-->
fatal: 'lfs' appears to be a git command, but we were not
able to execute it. Maybe git-lfs is broken?
I tried uninstalling the lfs installer and re-installing, didnt change anything.
I'm on windows 10, WSL 2, Ubuntu 20.04.4
this is the website: https://git-lfs.github.com/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该网站并不十分清晰,但是在调用
git lfs install
之前,要获取安装程序并安装它,还有一个额外的步骤! ..git lfs install
在安装扩展程序本身后,似乎会进行一些每用户设置。(强调矿山)
您可以在主页上找到安装程序,也可以在其下载页面上找到其他操作系统,
https://github.com/git-lfs/git-lfs/releases/
The website isn't very clear, but there's an extra step before calling
git lfs install
, fetching the installer and installing it! ..git lfs install
appears to do some per-user setup after the extension itself is installed.(Emphasis mine)
You can find the installer either on the main page or for other operating systems on their downloads page
https://github.com/git-lfs/git-lfs/releases/