git clone 故障 fatal could not create work tree dir

问题如上图,原因是openWRT目录权限的问题,该目录是新创建的查看目录权限后发现该目录只对root有读写权限,对所有者及其他用户无读写权限。
最简单的chmod 777 openWRT即可解决问题。

时间: 2024-11-06 03:34:58

git clone 故障 fatal could not create work tree dir的相关文章

Git异常:fatal: could not create work tree dir 'XXX': No such file or directory

[email protected] MINGW64 ~/Windows10 (master)$ git clone [email protected]:dunitian/IPToPosition.gitfatal: could not create work tree dir 'IPToPosition': No such file or directory 这个看一下执行目录的路径==>~/Windows10 (master) 切换到根目录:cd ~ 再输入指令就ok了 [email prot

错误:fatal: could not create work tree dir 'abc'.: Permission denied

Sophia:qc sophia$ git clone [email protected]:abc fatal: could not create work tree dir 'abc'.: Permission denied 原因 cd 到qc-amend目录,使用ls -l 可以看到qc/目录的权限: ??? 可以看到该目录只对root用户有写的权限,只需执行sudo chmod 777 qc/ 即可. 错误:fatal: could not create work tree dir 'ab

ubuntu 14.04 git clone 出现 fatal: Unable to find remote helper for 'https'

当你编译安装git时因为没有安装(lib)curl-devel所以导致git clone 和 git push 都会出现这个错误 如果你安装了(lib)curl-devel,然后重新编译安装git就没有这个错误了: $ yum install curl-devel $ # cd to wherever the source for git is $ cd /usr/local/src/git-1.7.9 $ ./configure $ make $ make install 在ubuntu上没有

(转)git clone出现 fatal: unable to access 'https://github.com/...'的解决办法

如下图所示,当我Git克隆别人的repo时,会发生这样的错误.发现它尝试用http和https代理,后来仔细回想了下,原来是自己用了代理,忘记取消 # 查看当前git 的设置 git config --global -l # 设置代理 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 http://也可以改成sockets5://,但

git报错git clone https://github.com/synfinatic/tcpreplay.git

一.背景说明 今天使用在Cygwin中git clone时报fatal: I don't handle protocol '?https',如下: 以为是Cygwin实现的git有点问题没太在意,换去cmd执行,但一样是报fatal: I don't handle protocol '?https' 而且有个Warning: Your console font probably doesn't support Unicode.又因此以为是字体问题 标题栏----右键----属性,将字体修改成仿宋

git clone 报错:fatal: HTTP request failed

git clone https://github.com/xxxx/lilxxy.git Initialized empty Git repository in /tmp/clone123/lxyily/.git/ error: while accessing https://github.com/xxxx/lxyily.git/info/refs fatal: HTTP request failed 这个报错的原因可以能是:1.服务器时间问题2.git 版本问题3.curl版本问题对于3,因为

[转]Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法

参考资料: http://sheshui.me/articles/git-quickly-tutorial-20120517 http://stackoverflow.com/questions/9282632/git-index-lock-file-exists-when-i-try-to-commit-but-cannot-delete-the-file 我的说明: 我操作的是ubuntu环境.window远程 1 若在window下远程打开操作窗口(不是console),进入.git目录删

Git 版本导致 clone 故障

问题描述: git clone 报错如下: Initialized empty Git repository in /root/project_php/.git/ error: The requested URL returned error: 401 Unauthorized while accessing http://tone.verru.cn:88/project_php.git/info/refs fatal: HTTP request failed 解决方法: 带着问题网上走一圈,查

EXCEPTION:FATAL: UNABLE TO CREATE ‘…GIT/INDEX.LOCK’ FILE EXISTS

FATAL: UNABLE TO CREATE ‘…GIT/INDEX.LOCK’ FILE EXISTS Hi, Today I will share you my other experience using git control system, it happened to me after I’ve created a branch, when adding my changes to remote or even committed my file I’ve started to s