git文件太大上传不了


git命令行

git提交失败的解决办法 
1 提交后提示 
fatal: recursion detected in die handler 
问题原因: 
问题原因是http.postBuffer默认上限为1M所致。在git的配置里将http.postBuffer变量改大一些即可,比如将上限设为500M: 
git config --global http.postBuffer 524288000 

在哪里执行以上命令呢? 
打开git bash命令行工具。 
注意要加上--global。网上很多资料都没加这个参数。不加执行的话会报以下错误的: 

error:could not lock config file .git/config: no such file or directory.

使用TortoiseGit

右键TortoiseGit--settings--Git--Edit systemwide gitconfig--把postBuffer的值修改为524288000

 

git ssh失效解决办法

报错信息

git.exe clone --progress -v "https://git.duapp.com/appiddfged879rf" "F:\bae\yelp" 

Cloning into 'F:\bae\yelp'... 
fatal: unable to access 'https://git.duapp.com/appiddfged879rf/': SSL certificate problem: unable to get local issuer certificate

 

最简单的解决方法是执行下面的命令,然后重新执行 git clone 命令:
  git config --global http.sslVerify false


免责声明!

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



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