Two ways to install git-lfs under linux

1. Method 1 (recommended)

First install git-lfs

free version: 

sudo apt-get install git-lfs

centeros version:

sudo yum install git-lfs

Then verify that the installation is successful

$ git lfs install

If displayed:

> Git LFS initialized.

The installation is successful.

2. Method 2

After downloading the installation package from the git official website, manually unzip it and install it.

For details, please refer to:

Installing Git Large File Storage - GitHub Documentation

Guess you like

Origin blog.csdn.net/tortorish/article/details/132257154