当我运行 git push
、pull
、clone
时,它们都不起作用。
当我尝试推送、 pull 或克隆存储库时出现以下错误
fatal: unable to access 'https://github.com/myUsername/myRepo/': Operation timed out after 0 milliseconds with 0 out of 0 bytes received
什么会导致这样的问题?我应该在哪里检查什么以找出导致此问题的原因?
最佳答案
您正在克隆错误的网址。 Git repo url 的形式为:
https://github.com/username/repository.git
使用该 url,您正在尝试克隆存储库公共(public)(或私有(private),取决于您的帐户)首页。
关于linux - git push, pull, clone 没有反应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50358288/