加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 无法克隆克隆

发布时间:2020-12-13 23:19:56 所属栏目:Linux 来源:网络整理
导读:我想使用以下命令克隆存储库. git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git 我有这个命令的跟随错误. dev@ubuntu:/a/WebRtc/Tools$dev@ubuntu:/a/WebRtc/Tools$git clone https://chromium.googlesource.com/chromium/tools
我想使用以下命令克隆存储库.

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

我有这个命令的跟随错误.

dev@ubuntu:/a/WebRtc/Tools$
dev@ubuntu:/a/WebRtc/Tools$git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into 'depot_tools'...
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
dev@ubuntu:/a/WebRtc/Tools$

我试过以下方式:

>更新git版本.
>尝试使用Ubuntu 15.10和14.04.4.
>在Windows机器上尝试相同的命令,它工作.

解决方法

克隆期间的此类错误消息(不是推或拉)表示git无法正确创建本地存储库.
例如,参见“ Cannot git clone to VMWare shared folder”,其中创建硬链接的不可能性是有问题的.

校验:

>如果您的用户有权创建文件/符号链接/硬链接,或者
>如果有某种类型apparmor policy会阻止/限制您的设置中的文件创建,或> if / a / WebRTC是具有受限权限的已装入文件夹

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读