我正面临 git 和无线网络的奇怪行为。
提供三种无线连接。当使用其中两个时(一个在家里,另一个在办公室),我可以毫无问题地推送到 github。但是当我连接到第三个(这个也在家里)时,以下命令
git push origin
导致对任何结果的无尽期待。只有当我打破这个过程时,这种期望才会结束。顺便一提,
ssh -T git@github.com
返回
You've successfully authenticated, but GitHub does not provide shell access.
一旦我连接到其他网络,一切正常。
PS 如被问及:
git remote -v
origin git@github.com:MyName/my_repo.git (fetch)
origin git@github.com:MyName/my_repo.git (push)