首先可以尝试 git lfs install
是否可以,不可以后就看这个连接:https://stackoverflow.com/questions/48734119/git-lfs-is-not-a-git-command-unclear。
我的是ubuntu,所以:
保证这个前提:
git-lfs requires git version 1.8.3.1 or later. You can check the version you have by running git --version, and update if required.
执行这个:
$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt-get install git-lfs
得到结果:
Finally, run git-lfs install
to install git-lfs on your system. You can always run git-lfs uninstall to uninstall.文章来源:https://www.toymoban.com/news/detail-699008.html
日志:
文章来源地址https://www.toymoban.com/news/detail-699008.html
到了这里,关于git: ‘lfs‘ is not a git command unclear的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!