最近在git push 的时候发现一个问题。
read from socket failed connection reset by peer fatal could not read from remote repository。
我们先试一试是不是连同的:ssh -T git@github.com
发现是正常的。Google了一下,发现一个好的解决办法:
在命令行执行:
git config remote.origin.url git@github.com:your_username/your_project.git
然后在git push就可以了。
相关推荐
Git push 常见用法,git里面help 可以帮助我们查看。这个文档只是补充。。
git-fatal the remote end hung up unexpectedly 解决方法
主要介绍了windows下Idea使用git clone failed. Could not read from remote repository.,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
解决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....
当你辛辛苦苦地在Linux下架设好SSH服务器,给账户分配完权限,以为什么都大功告成的时候。 这时你在客户端的Linux机器下登陆,可是可是,... remote:error:blablabla remote:error:blablabla remote:error:blablabla
彻底解决Mac端git clone/push速度太慢的问题,详情请参阅文档。
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
git-push-deploy:搭建一个你能够git push部署的远程repo
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
06★Git入门★把握Git状态_git_status_reset
第一步 重新生成ssh ssh-keygen -t rsa -C “这里需要填写邮箱。我填写的是我的绑定主邮箱。我想其他邮箱也是可以的,只不过我没有测试。” 第二步 ...最后输入ssh -T git@gitee.com 即可 作者:亦圻
解决git clone时报错问题:sign_and_send_pubkey: signing failed: agent refused operation
Gitpush node.js 脚本 git push aremote abranch 吗和gitpush(假设源主) 或者gitpush abranch(假设源远程) 或者gitpush 分支远程 安装 git 克隆cd gitpush npm 链接
如何用git将本地项目push到GitHub上?如何用git将本地项目push到GitHub上?
解决git报错问题Null系统资源文件 fatal: open /dev/null or dup failed: No such file or directory
git push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push ...
使用git Bash here闪退并生成mintty.exe.stackdump文件 cmd使用git 报错 fatal:open /dev/null or dup failed: No such file or directory 并弹出mitty.dump文件 使用方法见我的CSDN
git push origin master 报错的解决方法,分享给大家,具体如下: 错误提示如下 [root@linux1 php]# git push -u origin master To git@github.com:kangvcar/Results-Systems--PHP.git ! [rejected] master -> ...
开源项目-bobbo-git-s3-push.zip,git-s3-push: Deploy git repos to Amazon S3, written in Go
主要介绍了解决git误commit大文件导致不能push问题,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下