0


git: ‘lfs‘ is not a git command unclear

首先可以尝试

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.

日志:
在这里插入图片描述

标签: git LFS

本文转载自: https://blog.csdn.net/x1131230123/article/details/132711534
版权归原作者 XD742971636 所有, 如有侵权,请联系我们删除。

“git: ‘lfs‘ is not a git command unclear”的评论:

还没有评论