-
在官网 https://git-lfs.github.com/ 下载LFS 并且按正常进行安装。
-
在git add + 文件之前,在你需要上传代码的git bash中输入下面命令:
-
git lfs install
-
git lfs track "*.h5"
-
git add .gitattributes
-
git commit -m "add .gitattributes"
-
git push origin master
-
-
开始上传你的代码
-
git add * git commit - m '上传' git push origin master
-
-
完成。
github上传超过100M的大文件
猜你喜欢
转载自blog.csdn.net/weixin_43742062/article/details/113771113
今日推荐
周排行