git 上传大文件

git lfs install 【安装】

成功提示:
Updated git hooks.
Git LFS initialized.

git lfs track "*.exe"【追踪要上传的exe】

git add .gitattributes【正确应用规则】

git add .【添加本地】

git commit -m "大文件上传"【说明】

git remote add origin git@github.com:xx/xxxt.git【关联远程仓库】

git pull --rebase origin master【上传更连续】

git push -u origin master【正式上传】
posted @   yanhuidj  阅读(8)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示