centos git lfs安装方案
# 升级/安装git
# 更新库
yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# 安装
yum remove git
yum install git236
git --version
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# lfs
# git lfs 要求 git >= 1.8.2
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
sudo yum install git-lfs
git lfs install
1
2
3
4
2
3
4
# 参考
上次更新: 2023-09-07 10:57:55