0

I was trying to install Git Bash on my Windows 10. But during installation, I got the following error:

Unable to set system config "diff.astextplain.textconv":="astextplain": exit code 128 stderr: fatal: could not open '/dev/null' for reading and writing: No such file or directory" and many more errors(almost 10 more).

But it was installed.

Then I tried to run git --version on the command prompt, and I got

"fatal: could not open '/dev/null' for reading and writing: No such file or directory"

I tried to solve this by changing the value

HKEY_LOCAL_MACHINE -> SYSTEM -> ControlSet001 -> Services -> Null

to 1 based on this Stack Overflow solution. But the value was already 1. So I did not make any changes.

I do not know how to solve this issue. I did install the Git Bash 20 days ago and that time it has no issue. I don't know what happened 5 days ago. Now I am facing this error. I need a solution how to sovle this error and I use Git Bash properly.

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135

0 Answers0