Github上传文件大于100M的文件

1.下载软件

2.设置1次 LFS:

git lfs install

3.然后 跟踪一下你要push的大文件的文件或指定文件类型

git lfs track "*.pdf"

4.以上已经设置完毕, 其余的工作就是按照正常的 add , commit , push 流程就可以了 : 参考:文章

  1. git add yourLargeFile.pdf
  2. git commit -m "Add Large file"
  3. git push -u origin master

猜你喜欢

转载自blog.csdn.net/weixin_39059031/article/details/88074100
今日推荐