美文网首页
git clone 大文件

git clone 大文件

作者: ask_ME | 来源:发表于2020-04-21 18:04 被阅读0次

    1

    git config --global http.postBuffer 524288000
    

    2

    git clone git://git.code.sf.net/p/largefile
    

    3 LFS

    brew install git-lfs
    git git-lfs install
    git lfs clone remote
    

    4 depth

    $ git clone --depth 1 https://github.com/dogescript/xxxxxxx.git
    $ git remote set-branches origin 'remote_branch_name'
    $ git fetch --depth 1 origin remote_branch_name
    $ git checkout remote_branch_name
    

    使用Git clone代码失败的解决方法

    Git_Clone大项目超过1G失败解决方案

    Git LFS的使用

    相关文章

      网友评论

          本文标题:git clone 大文件

          本文链接:https://www.haomeiwen.com/subject/xuypihtx.html