mindong 发表于 2018-1-13 14:30:39

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
页: [1]
查看完整版本: git文件太大上传不了