今天早上出现了一个奇怪的问题——我无法使用 SSH 或 HTTPS 从 GitHub 上的公共 repo 克隆到我的共享 VMWare 文件夹。我正在使用 Fedora 22,如果我在系统上除共享文件夹之外的任何位置尝试此命令,它就会完美运行。
git clone https://github.com/twbs/bootstrap.git
Cloning into 'bootstrap'...
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.
我尝试过的步骤:
- 重新启动 VM 和主机 Mac(运行 El Capitan)
- 重新安装 git
- 检查权限 (drwxr-xr-x)
有谁知道为什么共享文件夹可能会导致这种情况?