致命:无法创建工作树目录“kivy" [英] fatal: could not create work tree dir 'kivy'

查看:31
本文介绍了致命:无法创建工作树目录“kivy"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试克隆我的 kivy git 分支,但它不起作用.我相信我已经正确地制作了叉子,但是当我在 Mac 终端中输入以下内容时:

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:

git clone https://github.com/mygitusername/kivy.git

我收到此错误:

致命:无法创建工作树目录 'kivy.:权限被拒绝

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

例如.

这篇关于致命:无法创建工作树目录“kivy"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆