我遇到了git和无线网络的奇怪问题。
有三个可用的无线连接。当我使用其中两个(一个在家里,另一个在办公室)时,我可以毫无问题地推送到github。但是当我连接到第三个(这也是在家里),执行以下命令:
git push origin
结果是对任何结果的无尽期望。只有在我打破这个过程时,这种期望才会结束。顺便说一下,
ssh -T git@github.com
返回
You've successfully authenticated, but GitHub does not provide shell access.
当我连接到其他网络时,一切都正常。
附注:如要求所述:
git remote -v
origin git@github.com:MyName/my_repo.git (fetch)
origin git@github.com:MyName/my_repo.git (push)
git remote -v
命令的输出结果。 - Guillaume Darmont