Git LFS报错“Git LFS is not installed”

第一次用Git-LFS,安装后,执行git lfs pull,报错:

Skipping object checkout, Git LFS is not installed.

翻译过来字面意思就是LFS未安装,于是又去安装LFS,仍然报错,请教大佬后,抛过来官方文档:

Download and install the Git command line extension. Once downloaded and installed, set up Git LFS for your user account by running:

> git lfs install
You only need to run this once per user account.

下载并安装后,首次使用前执行这个命令,对当前git账号进行初始化。

问题解决,并非说的LFS本身未安装。而且,如果真的是未安装,应该报错为:

command not found

所以遇到问题应该先去官网看看。

你可能感兴趣的:(Git,git,git-lfs)