Git LFS reports an error "Git LFS is not installed"

The first time I use Git-LFS, after installation, execute git lfs pull, and report an error:

Skipping object checkout, Git LFS is not installed.

The translation literally means that LFS is not installed, so I went to install LFS again, and still reported an error. After consulting the boss, I threw over the official document :

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.

After downloading and installing, execute this command before the first use to initialize the current git account.

Problem solved, not that LFS itself is not installed. Moreover, if it is not installed, the error should be reported as:

command not found

So if you encounter problems, you should go to the official website first.

Guess you like

Origin blog.csdn.net/zy13608089849/article/details/126361249