zoukankan      html  css  js  c++  java
  • Git上传文件容量大小限制

    使用Git LFS突破git的100M容量限制。 

    1.安装Git LFS

    https://git-lfs.github.com./

    2.安装后把里面的git-lfs.exe放到你要上传的项目文件夹

    3.在将要push的仓库里重新打开一个bash命令行

    Git lfs install

    Git lfs track “*.csv”

    Git add .

    Git commit -m “add large file”

    Git push -u origin master

    结果在最后push的时候发生了错误

    Remote "origin" does not support the LFS locking API. Consider disabling it with 
    这个错误后面直接给出了答案,只需要将LFS locking设置为false,具体的代码当时忘了考下来了,反正就是跟在这个错误后面的。解决完这个问题没想到又出现了一个错误

    batch response: Git credentials for https://github.com/caijiangyao1991/aliGame.git not found:

    最后通过存储认证的密码和账号才解决

    git config --global credential.helper store

  • 相关阅读:
    poj2263
    poj2304
    低调是态度,也是智慧
    股票操作記錄2
    治病記錄(2013年)
    过年了
    治病記錄
    近段時間學習記錄
    新的一年
    關于設計
  • 原文地址:https://www.cnblogs.com/fionacai/p/8456811.html
Copyright © 2011-2022 走看看