linux - git push, pull, clone 没有反应

标签 linux git

当我运行 git pushpullclone 时,它们都不起作用。

当我尝试推送、 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/

相关文章:

git - 如何确定master、origin、head

node.js - 从 Node.js 应用程序管理 git 存储库

linux - 无法打开虚拟机: The virtual machine appears to be in use

c - 如何在线程中等待信号?

android -/hardware/qcom/media-caf/msm8916 出现错误

c - 内核如何使用task_struct?

每次提交后暂停的 Git rebase

linux - 基于两列(双向)删除重复行,只保留一列

git - 使用 git send-email 回复邮件列表中的同一线程

Git,删除存储库