我将我在github上托管的git repo克隆到我的笔记本电脑上.我能够毫无问题地成功地将几个提交推送到github.但是,现在我收到以下错误:
Compressing objects: 100% (792/792), done.
error: RPC failed; result=22, HTTP code = 411
Writing objects: 100% (1148/1148), 18.79 MiB | 13.81 MiB/s, done.
Total 1148 (delta 356), reused 944 (delta 214)
Run Code Online (Sandbox Code Playgroud)
从这里,它只是挂起,我终于有机会CTRL+ C回终端.
看似完成推动后,我的git push挂了.我要去git推
Counting objects: 51, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (47/47), done.
Writing objects: 100% (47/47), 27.64 MiB | 6.47 MiB/s, done.
Total 47 (delta 4), reused 0 (delta 0)
Run Code Online (Sandbox Code Playgroud)
它挂在这里,我必须控制-c回到命令行.我曾经在这个项目中做过几次提交,现在有了问题.我在我的机器上尝试了其他回购,它们工作正常.这里发生了什么?
每当我尝试推送到github时,Git push都会挂起.我正在使用Cygwin和Windows 7. Git函数可以在本地跟踪分支,提供状态,设置全局user.name和user.email以及允许提交.
我还是新人,还在学习.
我输入git push,git push origin master或者git push -u origin master我得到的只是一个空白行,要求我ctl-c以获得提示.
ssh-keygen -t rsa -C "me@example.com" 问我一个文件名并挂起
git push heroku master 挂起
$ git status 回报 On branch master nothing to commit, working directory clean
$ git pull 回报 Already up to date
$ git remote -v 收益:
heroku git@heroku.com:myherokusite.git (fetch)
heroku git@heroku.com:myherokusite.git (push) origin
https://github.com/gitusername/appname.git (fetch) origin
https://github.com/gitusername/appname.git (push)
or the correct ssh remote settings are returned when trying this …Run Code Online (Sandbox Code Playgroud)