github 提交和更新代码

…or create a new repository on the command line

 
echo "# flutterPluginsWorks" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:rbqren000/flutterPluginsWorks.git
git push -u origin master

…or push an existing repository from the command line

 
git remote add origin git@github.com:rbqren000/flutterPluginsWorks.git
git push -u origin master

提交大文件

GitHub上传大于100M的文件的方法

上传大文件方法:https://blog.csdn.net/wifi74262580/article/details/85060187

 

大文件路径 /Users/rbq/oc_works/BelonPrinter_black_2021_12_31/BelonPrinter/Pods/OpenCV/opencv2.framework/Versions/A/opencv2

以以下为例子进行说明

1、git init

2、git lfs install

3、git lfs track "*.zip"     或者 git lfs track "opencv2"

4、git add .gitattributes

5、git add “Pods/OpenCV/opencv2.framework/Versions/A/opencv2”  (以opencv2为例)

6、git commit -m  "大文件opencv2"

7、git branch -M main

8、git remote add origin git@github.com:rbqren000/BelonPrinter_black_2021_12_31.git

9、git push -u origin main

…or push an existing repository from the command line

 

git remote add origin git@github.com:rbqren000/BelonPrinter_black_2021_12_31.git

git branch -M main

git push -u origin main

 
posted @   brave-sailor  阅读(450)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
历史上的今天:
2015-05-06 android api 中文 (73)—— AdapterView
2015-05-06 android 中文 api (72) —— BluetoothSocket[蓝牙]
2015-05-06 android 中文 api (71) —— BluetoothServerSocket[蓝牙]
2015-05-06 Android 中文API (70) —— BluetoothDevice[蓝牙]
2015-05-06 Android 中文API (69) —— BluetoothAdapter[蓝牙]
2015-05-06 Android 中文API (68) —— BluetoothClass.Service
2015-05-06 Android 中文API (67) —— BluetoothClass.Device.Major
点击右上角即可分享
微信分享提示