Github Upload Large File 上传超大文件


 

Github中单个文件的大小限制是100MB,为了能突破这个限制,我们需要使用Git Large File Storage这个工具,参见这个官方帖子,但是按照其给的步骤,博主未能成功上传超大文件,那么这里就给出自己成功的步骤吧:

 

git lfs install

git lfs track "*.exe"

git add .gitattributes

git commit -m "Updated the attributes"

git push origin master

git add my_large_file.exe

git lfs ls-files

git commit -m "Add the large file"

git push origin master

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM