1、git出错如下错误时

git上传超过100m大文件

执行如下可解决错误:

  git rm --cache '大文件路径'

  git commit --amend -CHEAD

  git push

2、当必须上传大文件时。需借助git-fls

  下载地址:https://git-lfs.github.com/

  使用方式:

    (1)、在项目目录git lfs install。

    (2)、git lfs track '.文件后缀'。

    (3)、git add .gitattributes。

    (4)、配置完成后就可按照平时git方式使用。

 

相关文章:

  • 2021-12-22
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2020-01-10
猜你喜欢
  • 2021-04-18
  • 2019-11-30
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
相关资源
相似解决方案