Cod*_*mer 30 git ubuntu github
当我试图推送到我的远程git存储库时,它会永远消失,没有任何反应.我等了这么久,但推动永远都没有完成.我的操作系统是Ubuntu 12.10.谢谢.
小智 11
我在使用 git bash 时也遇到过类似的问题。使用这些命令有帮助。
git config --global core.preloadindex true
git config --global core.fscache true
git config --global gc.auto 256
Run Code Online (Sandbox Code Playgroud)
https://blog.praveen.science/solution-to-git-bash-is-very-slow-in-windows/
我有同样的问题。如果您使用的是 Bitbucket.org,我不知道为什么,但是禁用 IPV6 连接解决了这个问题。
确保您使用正确的协议。
根据您设置本地配置的方式,您可能需要使用https来连接。为此,请将远程存储库的git@github.com:[user]/[repo]协议从协议切换到https://github.com/[user]/[repo].git协议。
此外,如果您无法使用该https协议,反之亦然值得尝试。在较旧的配置上,较旧的git@github用户身份验证通常允许您作为后备连接。