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

相关推荐
AI_CPU_GPU_Cloud3 小时前
找工作变容易了
经验分享
likuolei3 小时前
Git 与 SVN 区别
git·svn
海边夕阳20063 小时前
【每天一个AI小知识】:什么是卷积神经网络?
人工智能·经验分享·深度学习·神经网络·机器学习·cnn
charlee448 小时前
Git使用经验总结8-Git仓库历史记录清除
git·powershell·敏感信息·仓库重置·历史重写
正经教主9 小时前
【Git】Git05-04:Github分支管理与协作流程
git·github
sean90811 小时前
git filter-repo(优秀的 git repo 历史重写工具) 实战
git·repo·工具
hen3y11 小时前
清理 Git 代码库大文件历史记录
运维·git
CoderJia程序员甲11 小时前
GitHub 热榜项目 - 日榜(2025-11-22)
ai·开源·llm·github·ai教程
小Lu的开源日常12 小时前
踩坑日记:为什么Git 突然 Push 不上去了
git·ssh·github
LZ7工作室12 小时前
MAC编程:在MACOS安装和使用 Git 的方法
网络·git·macos·github·个人开发