#!/bin/bash # 3 安装 git lfs # centos # curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash # sudo yum install git-lfs # git lfs install # ubuntu # curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash # sudo apt-get install git-lfs # git lfs install # 查看 git lfs 拉取的大文件进度: # cd want_repo # watch -n 1 du --max-depth=1