restNet50-sss20240819140609/新建文本文档 (3).h5

23 lines
744 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

使用LFS进行大文件上传
lfs下载地址https://git-lfs.com/
git lfs install
初始化本地仓库
gii init
添加远程仓库
git remote add origin http://10.0.101.71:3000/wsg123/Test-wsg-001.git
切换到 main 分支(如果还没有 main 分支,先创建它)
git checkout -b main
跟踪大文件
git lfs track ".zip" 文件后缀
添加并提交本地文件
git add .
git commit -m "你的提交信息"
从远程仓库获取最新的更改
git fetch origin
强制合并不相关的历史记录
git merge origin/main --allow-unrelated-histories
配置Git用户名和邮箱
git config --global user.name "Your Name"
git config --global user.email you@example.com
将本地 main 分支推送到远程仓库
git push -u origin main