更新时间:2023-02-14 22:35:00
您应该在您有写入权限的目录中执行命令。所以:
cd〜/
mkdir code
cd code
git clone https:/ /github.com/kivy/kivy
例如。
I'm trying to clone my fork of the kivy git, but it's not working. I've made the fork correctly, I believe, but when I type this into my Mac terminal:
I get this error:
fatal: could not create work tree dir 'kivy.: Permission denied
Anyone see what I am doing wrong? Thanks!
You should do the command in a directory where you have write permission. So:
cd ~/
mkdir code
cd code
git clone https://github.com/kivy/kivy
For example.