git 大文本上传和下载git-lfs

1. ubuntu

1)下载脚本来自动化配置系统上的包存储库,导入签名密钥等过程。这些脚本必须在root下运行。

BASH 复制代码
# apt/deb repos: 
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
# curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash

2)安装git-lfs

BASH 复制代码
#apt/deb: 
sudo apt-get install git-lfs 
# apt-get install git-lfs

2. centos

1)下载脚本来自动化配置系统上的包存储库,导入签名密钥等过程。这些脚本必须在root下运行。

BASH 复制代码
#yum/rpm repos:
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
#curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash

2)安装git-lfs

BASH 复制代码
#yum/rpm: 
sudo yum install git-lfs
#yum install git-lfs

参考链接:https://github.com/git-lfs/git-lfs/blob/main/INSTALLING.md

相关推荐
李大玄1 小时前
Google浏览器拓展工具 "GU"->google Utils
前端·javascript·github
每天吃饭的羊1 小时前
github上部署自己的静态项目
github
泰勒朗斯2 小时前
如何在新机器上设置github完成内容git push
git·github
qianmoQ2 小时前
GitHub 趋势日报 (2025年07月05日)
github
weixin_307779133 小时前
批量OCR的GitHub项目
python·github·ocr
前端 贾公子5 小时前
monorepo + Turborepo 缓存
github
独立开阀者_FwtCoder6 小时前
放弃 JSON.parse(JSON.stringify()) 吧!试试现代深拷贝!
前端·javascript·github
网硕互联的小客服6 小时前
如何排查服务器中已经存在的后门程序?
运维·服务器·github
小妖6667 小时前
git branch -a 还有一些已经删除了的分支
git
橘黄的猫7 小时前
深入浅出掌握 Git 子模块:项目管理利器
前端·github