Search code examples
gitbashrepositorysourcetree

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.

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 enter image description here

Then to make sure git is there I tired git command then this error occursenter image description here

Then I double check by opening git Bash but same error was there too. enter image description here

I tried reinstalling changing directory. but nothing works.


Solution

  • 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.

    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.