【发布时间】:2020-09-26 09:53:09
【问题描述】:
我尝试使用 wsl (Ubuntu 20.04) 从全新的 Windows 安装中克隆 repo。 我所做的:生成 SSH 密钥并将公钥添加到 github 和 framagit。 试过了
ssh -i -T git@github.com
和
ssh -i -T git@framagit.org
他们俩都说“你好,我的伪君子,你已通过身份验证”
但是当我尝试克隆时,我有以下内容: 没有 sudo :
Cloning into 'testaaa'...
error: chmod on /mnt/d/dev/dev/testaaa/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
使用 sudo :
Cloning into 'testaaa'...
ssh: connect to host framagit.org 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.
我可以做些什么来解决我的问题?
【问题讨论】:
标签: windows git windows-subsystem-for-linux