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

 

相关文章:

  • 2021-09-10
  • 2022-01-05
  • 2021-06-15
  • 2021-07-07
  • 2022-12-23
  • 2021-08-02
  • 2021-08-07
猜你喜欢
  • 2021-10-08
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案