致命:打开/dev/null 或 dup 失败:没有这样的文件或目录 [英] fatal: open /dev/null or dup failed: No such file or directory
问题描述
我是新来的,我会尽量解释我的问题,请忽略任何错误.
I am new here and i will try to explain my question kindly ignore any mistakes.
我使用的是 git
版本 git-2.8.2
它工作了一天然后出现了这个问题.我正在使用 gcloud
存储库.首先我尝试了 gcloud clone 命令然后发生了这个错误
I am using git
version git-2.8.2
It worked fine for one day then this problem occurs.
I am using gcloud
repository.
First I tried gcloud clone command then this error occurs
然后为了确保 git
在那里我厌倦了 git 命令然后发生这个错误
Then to make sure git
is there I tired git command then this error occurs
然后我通过打开 git Bash
进行双重检查,但也出现了同样的错误.
Then I double check by opening git Bash
but same error was there too.
我尝试重新安装更改目录.但没有任何效果.
I tried reinstalling changing directory. but nothing works.
推荐答案
我不小心解决了我的问题.我想与大家分享.这不是 git 或 gcloud 或源代码树的问题.
I solved my problem accidentally. I would like to share it with everyone. It was not a problem of git or gcloud or source tree.
实际上,我已经强行停止安装导致此问题的 Windows 更新.现在,当我再次安装 Windows 更新时,此问题现已解决.也许这对某人有帮助.
Actually I have forcefully stooped windows update from installing which causes this problem. Now when I install windows updates again this problem is fixed now. Maybe this helps someone.
这篇关于致命:打开/dev/null 或 dup 失败:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!