使用git提交比较大的文件的时候可能会出现这个错误
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
这样的话首先改一下git的传输字节限制
git config http.postBuffer 524288000
然后这时候在传输或许会出现另一个错误
error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
这两个错误看上去相似,一个是411,一个是413
下面这个错误添加一下密钥就可以了
首先key-keygen 生成密钥
然后把生成的密钥复制到git中自己的账号下的相应位置
git push ssh://192.168.64.250/eccp.git branch
这就可以了
原文网址:http://blog.csdn.net/love_rongrong/article/details/12557347
删除文件夹下的 所有.svn或者.git文件夹信息
cd到该文件夹
//删除文件夹下的所有 .svn 文件
find . -name ".svn" | xargs rm -Rf
//删除文件夹下的所有 .git 文件
find . -name ".git" | xargs rm -Rf
error: RPC failed; result=18, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
git config --global http.postBuffer 524288000
git config --global http.postBuffer 2M
----------------------------------------------------
2014-12-25
Total 100 (delta 25), reused 0 (delta 0)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
|
We experienced this issue recently but none of the above solved it. In the end we pushed patches a few at a time (binary chop) until we found that one was causing the problem.
The version of Git on the server was older than our local Git and did not support one of the headers in the commit.
An easy way to see if this affects you is to run git fsck in your repository directory. This will report any potential issues.
|
相关推荐
error: RPC failed; result=18, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal: 过早的文件结束符(EOF) fatal: index-pack failed Solution for failed with error: RPC failed; result=18, ...
git首次提交代码到远程仓库提示413错误,错误信息如下 git push --set-upstream origin master Enumerating objects: 153, done. ...error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Req
Error response from daemon: rpc error: code = FailedPrecondition desc = node y2qsyjdbfmm4tjwh4p9wqlmq1 is not down and can’t be removed 解决(需要把active状态的节点的docker服务关闭;同时在manager节点中...
RPC failed; curl 18 transfer closed with outstanding read data remaining 在度娘上找到的方法都是说是:缓存区溢出,只要加大缓存区就可以了,然后跟着网上的说法一顿操作,结果发现依然是这个问题。 网上的...
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
今天首次使用VS Code的Git功能,翻遍了 所有中文教程,竟没有一个靠谱的。遂动笔写一篇。 请确保你安装了最新的VS Code.http://code.visualstudio.com/ 请确保安装了最新版的Git。https://git-scm.com/download。git...
torch 项目完整代码,公司无法使用git,所以放了个备份在csdn上 (git clone https://github.com/torch/distro.git ~/torch --recursive)
使用此参数来定位更多提交。 --start=[(int)start]:提交的起始偏移量。 --format=[array|json|md|console]:导出的格式。 默认情况下,导出显示到控制台。 如果选择了 md 格式,它会在目标 repo 中创建一个名为...
Mac升级了系统 在idea 中发现Git居然坏了。。。 完整的错误信息 Сannot Run Git ...看了下Git命令能否正常使用 命令行git –help 依然报和上面同样的错误 在查找了下git的安装目录 whereis git /usr/bin/
git操作提示符,一些日常操作git提交的以及出现错误时的处理方法,很简单的一些记录
git002:使用git 002
leetcode 答案 【toc】 ...个人收集的有用项目,使用git submodule方式,引用已有项目。 项目环境 submodule的使用 参考: 增加submodule git submodule add https://SubModule.git 首次拉取 git clone ...
学习git的基本操作时,遇到问题error: failed to push some refs to 'https://gitee.com/xiao-longlong/git-test.git' 解决办法:先执行git pull --rebase origin master 然后执行git push origin master即可
Git修订版 Git Revision是一个简单的(45 SLoC)Ruby gem,提供有关git源代码的基本信息。 您可以在应用程序中使用它,显示已部署的版本。 安装 添加到Gemfile: gem 'git-revision' 并运行: bundle install ...
svn+git实现离线提交并且不需要到处所有svn版本,速度超快非一般的感觉,超越git本身的git2svn功能。 使用本工具需要安装基础工具: 首先安装git msysgit:https://code.google.com/p/msysgit/downloads/list msysgit...
解决git clone时报错问题:sign_and_send_pubkey: signing failed: agent refused operation
gitbash 更好的git使用bash设置将git-prompt.sh到本地计算机中的某个位置。 例如 cd ~/.bash/git clone https://github.com/mocheng/gitbash然后,在您的~/.bashrc ,添加以下行 source ~/.bash/gitbash/git-prompt....
Error while executing: npm ERR! /usr/bin/git ls-remote -h -t https://github.com/nhn/raphael.git npm ERR! npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to ...