Compare commits

..

No commits in common. "6e53220d88a05da9aeb269d1ecdd13df9e4722fd" and "75616133f398d97adfad61ee2db8aea0f06fc174" have entirely different histories.

1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
使用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