所以我试图从 git 克隆一个存储库,到我知道我有写访问权限的文件夹中。
我正在尝试使用 IntelliJ 的内置 VCS 功能和来自 git-scm.com 的 git bash 程序克隆它,它们都返回以下错误:
fatal: could not create work tree dir '<repo name>' :
Permission denied
我究竟做错了什么?
最佳答案
使用须藤
sudo git clone <url>
关于git clone 致命的 : cannot create work tree dir permission denied,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36728469/