【问题标题】:Can't clone repository with git无法使用 git 克隆存储库
【发布时间】:2018-02-07 21:39:47
【问题描述】:

我已连接到 BeagleBone Green Wireless,我正在尝试将一个存储库克隆到其中

我试过了

git clone git@github.com:username/test.git
ssh: connect to host github.com port 22: Network is unreachable
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

git clone https://github.com/username/test.git
Cloning into 'test'...
fatal: unable to access 'https://github.com/username/test.git/': Couldn't connect to server

还有其他方法可以克隆存储库吗?

【问题讨论】:

  • 您的网络连接有问题吗?
  • @LukeDinh 但他的互联网至少允许他发布问题。
  • @andrewnagyeb 哈哈,是的,我很笨
  • 你的beagleboard连接有问题吗?你能试着给我们ifconfig的结果吗?
  • wlan0 Link encap:Ethernet HWaddr 2c:f7:f1:06:5a:a4 inet addr:172.30.40.164 Bcast:172.30.43.255 Mask:255.255.252.0 inet6 addr: fe80::2ef7:f1ff :fe06:5aa4/64 范围:连接广播运行组播动态 MTU:1500 指标:1 RX 数据包:19470 错误:0 丢弃:0 超限:0 帧:0 TX 数据包:3211 错误:0 丢弃:0 超限:0 运营商:0 冲突:0 txqueuelen:1000 RX 字节:4204673 (4.0 MiB) TX 字节:500274 (488.5 KiB)

标签: git beagleboard


【解决方案1】:

是的,您可以在有网络连接的其他地方克隆它,然后通过您用来将文件获取到 Beagle Board 的任何方式复制该克隆。

但你应该改为fix your network connection on your Beagle Board

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-01
    • 2018-11-23
    • 2017-07-15
    • 2011-10-24
    • 2023-04-01
    • 2013-04-19
    相关资源
    最近更新 更多